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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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