Hello guys,
I need a script of gold weekly, with some restrictions.
example: accounts only level 110 +, 89 +.
Thx !
Printable View
Hello guys,
I need a script of gold weekly, with some restrictions.
example: accounts only level 110 +, 89 +.
Thx !
How about you write your own?
I don't know put the restrictions, sorry.
Then learn on how to do it, and stop leeching.
If you can not help me, get off the topic. I came here because I need help and can not do. Thank you.
check char IDs for level. using the database ingame perhaps?
you'll have to have some knowledge of how to extract the data from iweb, for instance
you can set it to a quest ingame as well, well.. not for real gold though
You didn't ask for help, you asked for a done script.
@Psytrac iWeb provides some api or something? if you tell me where I can find about already start looking
@Swoosh91 Stop taking everything to the letter, any help is welcome.
Dump gamedb to mysql, then do simple queries that return rows which you want to use.
SELECT * FROM db_bla WHERE level > 50;
For example. Then just do addgold() or whatever you named your gold adding procedure.
Where can db_bla? see how my mysql Screenshot by Lightshot
How do I get the crop too? (cultive)
lol ... this is fail ... ' i need gold script ' ... ' but i have no knowledge ' ... if you can understand this you are welcome ... if you cant understand this ... learn ... come back ... this is a help area for already existing ... if you would get a ready script ... try google ...
I want to help build one, know where I can get the data and how. The php part I turn.
As one does not understand "db_bla"? If iu are not even able to understand this better go look elsewhere ...
Give it a read on php.net and you can understand how things work. =)
SELECT * FROM <Database> WHERE level > 50;
database = pw?
SELECT * FROM pw WHERE level > 50;
database = hi
SELECT * FROM hi WHERE level > 50;
(a minor assist there)
Where can I find the ID of the player?
(ID CULTIVATION)
Screenshot by Lightshot
i use iweb, or login as GM and use the players id option :)
I need to know how to catch the cultivation of a user with the roles table script for my weekly gold
Attachment 141593
Cant you use the script on this page to find out how to get the information you need then adapt it into what you need?
just an idea (:
I want the ID appears in my MYSQL
cultivation ID Screenshot by Lightshot
ID CULTIVATION, example: Screenshot by Lightshot
the script is easy....but like everyone else they are trying to give you ideas of how to write your own script for it... its so simple in php....or you can write a cron job to read a script that calls the users level and cultivation.... or how long the user is online... but for you to be able to write this you will need to know how MySQL reads and calls the database or user info from the database.... you can add your own tables in MySQL to read from the database as well.....but youd need to Google and research to be able to complete your task
I know already writing the script in php, what I lack now is to find the column that gives me the cultivation of the player to use in php.
cant u base it on this?
http://forum.ragezone.com/f753/help-...5/#post7278900 like argonaut said?
yes, my script is based on this:
but not have cultivation level, only player level. i need cultivation levelQuote:
while($array = mysql_fetch_array($prepare_w)){
$id = $array["uid"];
$prepare_e = mysql_query("SELECT * FROM roles WHERE account_id = '$id' ORDER BY role_level DESC LIMIT 1") or die (mysql_error());
while($pegaLV = mysql_fetch_array($prepare_e)){
$level = $pegaLV['role_level'];
if($level >= 50){
$Amount = 500;
if($level >= 100){
$Amount = $Amount + "500";
$top_num = 0;
$top_num++;
$uweb = mysql_query("INSERT INTO usecashnow (userid, zoneid, sn, aid, point, cash, status, creatime) VALUES ('$id', '1', '$sn', '1', '0', '$Amount', '1', '$data')") or die (mysql_error());
$sn--;
}
}
then what you need to do is write a table in MySQL database to call from game database player cultivation... then add to script to call player that's level 100 for example then put if that's true to call cultivation level.... if that's true then gives reward if not it should echo or go to next script....