Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Upgrade my point system from files to Database, help?
#1
Question 
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!
Reply

#2
Which errors you have?
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
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.
Reply

#4
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 )
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#5
i have System.Data.SQLite.dll

Dynamic Library? whats that?

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

#6
(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.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#7
"Dynamic Library" can you post examples here?

i have installed MySQL.Data.dll now, still same errors
Reply

#8
no one can help me? Sad
Reply

#9
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?
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

Reply

#10
(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!
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Storing data in a database shanky 3 3,052 10-16-2013, 01:37
Last Post: yokai134
  Help mod not reading .iwd files? hmann 4 4,531 10-13-2013, 20:14
Last Post: hmann
  i need help with the sabs files duckywson 2 3,341 08-31-2013, 19:46
Last Post: duckywson
  .FF Files tugay12 1 4,364 08-14-2013, 17:11
Last Post: DidUknowiPwn
  Help GSC Reading Files?! Howl3r 11 8,357 07-30-2013, 04:00
Last Post: DidUknowiPwn
  Shop Database Hallla 5 4,789 07-23-2013, 07:33
Last Post: xfxtroll
  [Request] Login / Register System? South2AKA 5 5,028 07-17-2013, 13:50
Last Post: surtek
Music [Release] [C#] [LIBRARY] SABSFile library (open sound files) JariZ 31 19,911 07-07-2013, 17:20
Last Post: Red-EyeX32
Wink [Release] Shop system for Infected gametype Nekochan 125 76,045 07-05-2013, 18:09
Last Post: mohammadnanaa
  Help mysql Database hillbilly 7 5,019 05-31-2013, 05:25
Last Post: [HARD] Tony.

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.