• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved war server lose skills/magic lvl

carre

Advanced OT User
Joined
Apr 23, 2013
Messages
885
Solutions
1
Reaction score
161
Location
Sweden
Hello! i want die without lose skills and ml how can i make never lose skills and ml
repp++
 
Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"players" SET "loss_skills" = 0' at line 1
 
it it a war server there you login with 1/1 and chose a character, or is it with custom accounts there you can create a character?

if custom, are you supposed to be able to level up, and the levels will be there even if you relog?
 
no is war server with site too there they make account and char
instead of listening to people trying to give you stuffs they think work, do as this.

Go PHPMyAdmin and enter table for players, click on "structure" and look for something that says something about "loss" and then you click edit on that line, and change the value to 0.
After that to update all players to have the same, 1 make sure nobody is online, close the server while fixing.

and go "SQL" (a button next to structure) and use the command UPDATE `players` SET `loss_shit`=0;
Change `loss_shit` to the exact name you find in the structure.
 
instead of listening to people trying to give you stuffs they think work, do as this.

Go PHPMyAdmin and enter table for players, click on "structure" and look for something that says something about "loss" and then you click edit on that line, and change the value to 0.
After that to update all players to have the same, 1 make sure nobody is online, close the server while fixing.

and go "SQL" (a button next to structure) and use the command UPDATE `players` SET `loss_shit`=0;
Change `loss_shit` to the exact name you find in the structure.
Dude you don´t have to bee so fkn negative I am kinda pissed off I hate people like that "relase" their anger on people that just started with server stuff, this is probaly his first server so back the f*ck off..
 
hey solved i only need add on login.lua
Code:
doPlayerSetLossPercent(cid, PLAYERLOSS_SKILLS, 0)
        doPlayerSetLossPercent(cid, PLAYERLOSS_MAGIC, 0)
 
Dude you don´t have to bee so fkn negative I am kinda pissed off I hate people like that "relase" their anger on people that just started with server stuff, this is probaly his first server so back the f*ck off..

I mean no disrespect, I just wanted him to know how to check by his own hands what to do.
guessing what's right and not, can hurt more than it helps, well it's maybe not so bad on sql with commands, low chance mess something up, but in general, a wrong code used for wrong purpose could do a lot of damage.
 
I mean no disrespect, I just wanted him to know how to check by his own hands what to do.
guessing what's right and not, can hurt more than it helps, well it's maybe not so bad on sql with commands, low chance mess something up, but in general, a wrong code used for wrong purpose could do a lot of damage.
Np ;)
 
Back
Top