01-10-2014, 22:55
WANT TO CONVERT FROM TEXT TO SQL ?? without loosing the players points and ranks, ?
please contact me i will share the code
please contact me i will share the code
![Big Grin Big Grin](https://www.itsmods.com/forum/images/smilies/biggrin.gif)
Tutorial WANT TO CONVERT FROM TEXT TO SQL ??
|
01-10-2014, 22:55
WANT TO CONVERT FROM TEXT TO SQL ?? without loosing the players points and ranks, ?
please contact me i will share the code ![]()
Nao, post it here..!
*pro, showing off mode*: Well.. it's just 'Directory.GetFiles' -> loop thru every file then get contents(fread) and add them to the "List", likee... Code: public void Import_Data()
i have code less than 5 lines and works like charm.
(01-11-2014, 00:04)SailorMoon Wrote: Nao, post it here..! this is not simple, and i hope u dint try it , anyhow if u need the code just ask and i wil share it
here is the simple code to convert
add this line of code in public override void OnPlayerConnect(ServerClient Client) Code: try
Why are you executing a single request for each user? You will get much better performance if you execute this on all files that exist in the stopT folder at the same time, to prevent IO loads on the server you can use threading to put the method execution to sleep for 1 second per every 20 IO cycles.
The advantage to this is once everyone is executed it no longer has to run again allowing for a 0% chance of server lag if your using a basic shared server.
I now host all my MW3 projects on my private GIT repo
01-28-2014, 18:20
Code: string read = reader.ReadLine(); So useful. |
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
![]() |
[Release] Show random text on HUD for developers | [Z00MBY] Alex | 24 | 18,607 |
01-21-2014, 06:09 Last Post: Casper |
Users browsing this thread: |
2 Guest(s) |