ItsMods

Full Version: Upgrade my point system from files to Database, help?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello everyone! i try to upgrade my Points system from been saved on files to been saved on an Database, but when i tried to fix that (copy fe codes from plugins i knew Points did been saved on an SQL or MYSQL database) but i failed and dont know how to fix the errors, and i dont know how to add the stuffs in the database, can someone help me? i dont have so much experience. Angel

(PS: i dont share the codes here, you will see the codes by Teamviewer, or an other program there you can help me)
please help me!
Which errors you have?
i get 2 errors:
1: The type or namespace "Statistics" couldn't be found (are you missing a using directive or an assembly refrence?)
2: The type or namespace "Statistics" couldn't be found (are you missing a using directive or an assembly refrence?)

i tried first with an MySQL database in this thread: http://www.itsmods.com/forum/Thread-Help...1#pid96301 and add the parts of the code with the mysql database, that worked without errors, but the plugin didnt started. idk why.

Second i tested were from Your MoonLight and tryed to copy the parts of that for the SQL system, and there did i got the errors. idk how to fix that, or how to set up that Database settings.
Well. Include the Statistics.dll ? (Or Dynamic Library, which has this classname).


I think, or you have corrupted MySql.Data.dll ( Or how this file called, i don't remember )
i have System.Data.SQLite.dll

Dynamic Library? whats that?

(coding rank=Bad. dont know so much, i try to learn)
(08-01-2013, 14:23)EnVi Sweden Rocks Wrote: [ -> ]i have System.Data.SQLite.dll

Dynamic Library? whats that?

(coding rank=Bad. dont know so much, i try to learn)

Dynamic library is not even coding. =_=
https://en.wikipedia.org/wiki/Dynamic-link_library

Use MySql.Data.dll Not system one. I included this Dynamic Library to my moonlight shop. Use it.
"Dynamic Library" can you post examples here?

i have installed MySQL.Data.dll now, still same errors
no one can help me? Sad
Envi is on about released shop code, that he has edited, i haven't shared any shop code apart from what is in the public domain on here. I have also kindly been given some shop codes and also asked not to share them which i have not done @E-losev is one of those examples.

Here is an example of released source.

http://www.itsmods.com/forum/Thread-Rele...-Shop.html


@Envi did you create the stats.cs?
(08-03-2013, 14:21)hillbilly Wrote: [ -> ]Here is an example of released source.

http://www.itsmods.com/forum/Thread-Rele...-Shop.html


@Envi did you create the stats.cs?

yes, i have stats.cs and latest i tried with was the example codes from MoonLight, but i get errors as i dont know how to fix. Huh
i really want to get this fixed and work without problems!
Pages: 1 2