Search in database then apply bonus on login

mleo1

Community Contributors
Messages
314
Points
0
Age
10
Location
Failippines
Github
mleo1
Emulator
Anybody got time to waste and help? I appreciate the some help. Halppppppp

The idea is in Mass Murder System (http://irowiki.org/wiki/PK_Servers)
 

  • Your name will show up in red for everyone to see.
  • You are given +3 to all stats (+5 if you have 400 points).
  • You are given +10% attack and +10% magical attack.

Pseudocode
On login

val = Select kills Where `name`='thecharacteryouselected'
if(val==xvalue)
add bonus like demihuman def, atk, stat, matk


 
Last edited by a moderator:
There's no need to modify your source code to do that, it's completely "doable" using scripts... The only thing that I'm not so sure is displaying a char name in red, I guess you'd need to modify your client to do that.

 
Back
Top