Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 20:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] pointAdder 1.0.4 - give players reward points for killing uniques

Discussion on [Release] pointAdder 1.0.4 - give players reward points for killing uniques within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 62
Join Date: Mar 2011
Posts: 602
Received Thanks: 2,955
[Release] pointAdder 1.0.5 - give players reward points for killing uniques

So, here is a simple server log parser, which will search log files for every unique kill it can find, and run specific query which you can define by yourself.

WARNING: Before you execute this first time, better ensure there is no
logs from different server in your server folder.

Didnt add cap 110/120 uniques yet, since wrote this for my 100 cap srv.

cfg.ini contains common settings for mssql connection and such

rewards.ini file contains definitions for mob kill rewards

cfg.ini -> maxLevelDifference = how much levels higher can character be than unique level

cfg.ini -> query directive

basically, for writing custom query

function has 4 format arguments -

Code:
{0} - nPoints
{1} - Username
{2} - CharID
{3} - charName
{4} - userJID
means, you can use them in query this way (few examples):

query=UPDATE MYTABLE SET POINTS=(POINTS + {0}) WHERE AccountName='{1}'

query=UPDATE SK_Silk set silk_own = (silk_own + {0}) where JID='{4}'

*removed* [v1.0.5 - fixed query]

Contents should be extracted and runned from the server folder.


Please, report all the issues you get (better, with exception text).
Chernobyl* is offline  
Thanks
26 Users
Old 02/11/2012, 17:59   #2
 
elite*gold: 3
Join Date: Nov 2008
Posts: 5,333
Received Thanks: 1,335
Quote:
Originally Posted by PortalDark View Post
i still wonder where mod is and why still hasn't been cleaned(or closed)
Because mods are people too, and have lives (so they can't be on 24/7 and watch over you guys). Anyway, the thread is now being cleaned (or is cleaned, depends on when you're reading this). Also, I wouldn't want to close any releases as it might prove useful someday.
Vaidas B is offline  
Thanks
14 Users
Old 02/11/2012, 21:55   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,867
Received Thanks: 1,091
Quote:
Originally Posted by TheConArtist View Post
Because mods are people too, and have lives (so they can't be on 24/7 and watch over you guys). Anyway, the thread is now being cleaned (or is cleaned, depends on when you're reading this). Also, I wouldn't want to close any releases as it might prove useful someday.
Fair moderator are fair
•ᵔBeGodOfWarᵔ• is offline  
Old 02/11/2012, 22:01   #4
 
TheOxide's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 1,476
Received Thanks: 1,647
Quote:
Originally Posted by •ᵔBeGodOfWarᵔ• View Post
Fair moderator are fair
fail grammar is fail
TheOxide is offline  
Thanks
16 Users
Old 02/11/2012, 22:32   #5
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,867
Received Thanks: 1,091
Quote:
Originally Posted by TheOxide View Post
fail grammar is fail
get a life
and ahmed4ever2u who thanked you ,,, check my siggy noob you dont know even whats the meaning of grammar !
@TheOxide im not speaking english to be pro at it so you can stfu and stop comment of people english
and im better than noobs who are using google translate to make themself pro
•ᵔBeGodOfWarᵔ• is offline  
Old 02/11/2012, 22:33   #6
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
Round 3 FIGHT
LastThief is offline  
Thanks
6 Users
Old 02/11/2012, 22:35   #7
 
elite*gold: 0
Join Date: Jan 2012
Posts: 1,867
Received Thanks: 1,091
Quote:
Originally Posted by LastThief View Post
Round 3 FIGHT
No im not fighting just remind him!
•ᵔBeGodOfWarᵔ• is offline  
Old 02/11/2012, 22:48   #8
 
Dr.Abdelfattah's Avatar
 
elite*gold: 7
Join Date: May 2010
Posts: 2,115
Received Thanks: 2,374
Nice work keep it up
Dr.Abdelfattah is offline  
Old 02/12/2012, 01:12   #9
 
elite*gold: 0
Join Date: Jan 2012
Posts: 130
Received Thanks: 90
Thanks Chernobyl* again

Quote:
Originally Posted by •ᵔBeGodOfWarᵔ• View Post
get a life
and ahmed4ever2u who thanked you ,,, check my siggy noob you dont know even whats the meaning of grammar !
@TheOxide im not speaking english to be pro at it so you can stfu and stop comment of people english
and im better than noobs who are using google translate to make themself pro
maybe they using google translate in some words because no one comment on them like now
i preffer using google translation and no one comment on my english
why u mad because ahmed4ever2u thanked him
begodofwar ur bullshit
that is my last post here because i dont want to fight with kid 9 years old
Ahmed Abdelhady is offline  
Thanks
2 Users
Old 08/10/2012, 08:24   #10
 
elite*gold: 62
Join Date: Mar 2011
Posts: 602
Received Thanks: 2,955
Dead link updated.
Chernobyl* is offline  
Thanks
1 User
Old 08/10/2012, 10:45   #11
 
evolution007's Avatar
 
elite*gold: 0
Join Date: Feb 2008
Posts: 284
Received Thanks: 90
is it possible to add points for killing trader or thief?
evolution007 is offline  
Old 08/10/2012, 15:54   #12
 
elite*gold: 0
Join Date: Jul 2009
Posts: 537
Received Thanks: 67
there was something like this on GrindRoad (the emu) thanks btw for the release,
2blackeyes is offline  
Reply


Similar Threads Similar Threads
[Help How can i give AP points to players
11/27/2011 - Shaiya Private Server - 7 Replies
if anyone know how can i give AP points to an account plz thanks you in advantage
G2Play reward points ?
08/03/2011 - Main - 4 Replies
Hallo Klint jetzt villeicht blöd aber ich wollte fragen wie das man bei G2play mit reward points bezahlt ? Ich habe 180 reward points und wollte mir damit BBC2 kaufen, aber es kommt imme ein fehler das ich nicht genügend reward points hätte aber bei BBC2 untendran neben dem preis steht das es 129 reward points benötigt und das habe ich ja... kann mir wer helfen ? Danke schon im Vorraus
Quests that give Weapon reward?
04/07/2011 - Silkroad Online - 3 Replies
can anyone tell me what quest gives wep reward?:D ty
[Small Release] Set players stat points command
07/14/2010 - CO2 PServer Guides & Releases - 5 Replies
Hey guys some people are having problems on their servers with stat points messing up. Here is a little code to add into chat.cs. These are 100% right went to the Official Conquer website and looked at all the stats "Masters" need. Goto chat.cs and search for /recall Under that void add this code. #region Set Player stats if (Cmd == "/setstats400") { if (GC.AuthInfo.Status...



All times are GMT +1. The time now is 20:22.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.