Jump to content
  • 0
Sign in to follow this  
mleo1

Search in database then apply bonus on login

Question

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

Edited by mleo1

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.