

GenGen
-
Posts
48 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by GenGen
-
-
Hi, I'm using this client everything is perfect.
however can someone tell me where did i did wrong, i job change into other class but still novice sprite.
do i need to apply the .diff file first?
-
Alright.
I'll try. Currently I'm using offline rathena by anacondaqq
Will be back if I have issues.
-
On 12/8/2018 at 5:32 AM, n0tttt said:
There're some errors.
set .map$, "quiz_02"; It should be a string variable. All the "unexpected"errors are because of that.
OnAgitEnd doesn't have a player attached, it just gets executed as WoE ends, so obviously dispbottom won't work.
quiz_02,304,263,6 script WOE Reward 714,{ mes "WOE"; mes "You did a great job!"; mes "Here is your reward."; getitem 13550,20; getitem 13989,50; getitem 14004,2; getitem 675,1; //add your rewards here set woereward,0; next; warp "SavePoint",0,0; end; OnInit: waitingroom "WOE Reward",0; end; } - script woe_reward -1,{ OnInit: set .map$, "quiz_02"; set .x, 304; set .y, 255; setarray .castles$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05", "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05", "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05", "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05", "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05", "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05"; end; OnMapLoadEvent: if ((agitcheck() || agitcheck2()) && inarray(.castles$,strcharinfo(3))) { set woereward,1; end; } end; OnAgitEnd2: set .@i,20; OnAgitEnd: set .@size,((.@i == 0)? 19 : getarraysize(.castles$)); sleep 5000; // wait 5 seconds after woe before warping the guild for (;.@i < .@size; set .@i, .@i+1){ set .@guild,getcastledata(.castles$[.@i],CD_GUILD_ID); if(.@guild) { set .@gm,getguildmasterid(.@guild); set .@j,inarray(.@guild_winners,.@guild); if(.@j == -1) { set .@guild_winners[.@k++],.@guild; warpguild .map$,.x,.y,.@guild; dispbottom "[ War of Emperium ] : Congrats! Your guild wins!",.@gm; } } } .@n = getunits(BL_PC,.@player); freeloop true; for(set .@i,0; .@i < .@n; set .@i, .@i+1){ attachrid .@player[.@i]; .@guild = getcharid(2); if(.@guild) { if(inarray(.@guild_winners,.@guild) == -1 && woereward) { dispbottom "[ War of Emperium ] : Its okay, you can try harder on next WoE!"; getitem 607,1; set woereward,0; } } } freeloop false; end; }
Ah I see, thanks for the explanation, however I get this error while trying the your script.
-
quiz_02,304,263,6 script WOE Reward 714,{ mes "WOE"; mes "You did a great job!"; mes "Here is your reward."; getitem 13550,20; getitem 13989,50; getitem 14004,2; getitem 675,1; //add your rewards here set woereward,0; next; warp "SavePoint",0,0; end; OnInit: waitingroom "WOE Reward",0; end; } - script woe_reward -1,{ OnInit: set .map, "quiz_02"; set .x, 304; set .y, 255; setarray .castles$[0], "prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05", "payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05", "gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05", "aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05", "arug_cas01","arug_cas02","arug_cas03","arug_cas04","arug_cas05", "schg_cas01","schg_cas02","schg_cas03","schg_cas04","schg_cas05"; end; OnMapLoadEvent: if ((agitcheck() && agitcheck2()) && (strcharinfo(3) == .castles$)){ set woereward,1; end; } OnAgitEnd: sleep 5000; // wait 5 seconds after woe before warping the guild for (set .@i,0; .@i < getarraysize(.castles$); set .@i, .@i+1){ warpguild .map,.x,.y,getcastledata(.castles$[.@i],1); dispbottom "[ War of Emperium ] : Congrats! Your guild wins!"; end; } if (getcastledata(.castles$[.@i],1) != getcharid(2) && woereward==1){ dispbottom "[ War of Emperium ] : Its okay, you can try harder on next WoE!"; getitem 607,1; set woereward,0; end; } OnAgitEnd2: sleep 5000; // wait 5 seconds after woe before warping the guild for (set .@i,0; .@i < getarraysize(.castles$); set .@i, .@i+1){ warpguild .map,.x,.y,getcastledata(.castles$[.@i],1); end; } if (getcastledata(.castles$[.@i],1) != getcharid(2) && woereward==1){ dispbottom "[ War of Emperium ] : Its okay, you can try harder on next WoE!"; getitem 607,1; set woereward,0; end; } }
Hello Rathena!
Need help with my script. It wont recall winner nor give reward to participants.
This script should give reward to the winners, and also consolation prize to losers that participate in WoE.
But I'm getting error.
Thanks in advance, Rathena!
-
-
yeah i know, but its easier to take scripts that had done by some contributor.
-
Hi rathena,
I'm here to request NPC that sells all cards ( must including MVP cards ).
i tried to go http://rathena.org/board/topic/56560-tsr-script-archives/ but some error message pop out.
-
they can get item every 24 hours :X
-
prontera,155,181,5 script Sample 718,{ set .Hour,24; if( #dailytimer < gettimetick(2) ) { mes "You have Gained a Daily Gift."; set #dailytimer,gettimetick(2) + ( .Hour * 3600 ); getitem 6101,1; //set the price here }else{ set .@last,#dailytimer - gettimetick(2); set .@hour, .@last % ( 24 * 3600 ) / 3600; set .@min, .@last % ( 24 * 3600 ) % 3600 / 60; set .@sec, .@last % ( 24 * 3600 ) % 3600 % 60; mes "You have to wait to get your next Daily Gift."; mes "Time CountDown : ^FF0000"+.@hour+":"+.@min+":"+.@sec+"^000000"; } close; }
-
Hi rathena users,
I'm here to request source edit for Sonic Blow skill nerf, since sinx are overpowered at my server. :/ I want sonic blow can be nerf 20% or 30%
any idea?
thanks in advance!
-
hi dear rathena users,
I just changed my client from Xrays to 20100707 RE client.
but the worst part is all of the character's skill = passive.
help me pls!
fixed. ZZZ i accidently renamed my skill_db.txt~ sorry.
-
not working
bump!
-
[server] server_name = Leatrik Ragnarok Online notice_url = crew08.crewbytes.com/index.html patch_site = crew08.crewbytes.com patch_port = 80 patch_list = /update.txt patch_folder = / executable = lro.exe ragexe_call = lro.exe 1rag1 registration_link = http://crewbytes.com skin = skin grf_file = lro.grf Backup_GRF = 0 startup_option = 2 [general] ;debug_mode = 0 archive_passphrase =
-
anybody know why this could happens? same with all my players too, after i change my emulator to Rathena.
-
i think you are missing those eot file in your data folder...
nvm..i uploaded it for you..
download it ..and place in your data folder.
thanks Emistry, that helps alot.
-
---------------------------
Error
---------------------------
C:\Users\USER\Desktop\Ragnarok\Gravity\data\RixSquirrel_10.eot ÆÄÀÏ ¾øÀ½!
---------------------------
OK
---------------------------
i have this error when i trying to run my hexed rathena's client.
-
-
nah, still the same
(
-
any idea why..?
-
-
Payment Wall Ping Back Example for Virtual Currency
<?php define('SECRET', 'd9bee051cfe5613c6a2ddb513ad52fd9'); define('CREDIT_TYPE_CHARGEBACK', 2); $ipsWhitelist = array( '174.36.92.186', '174.36.96.66', '174.36.92.187', '174.36.92.192', '174.37.14.28' ); $userId = isset($_GET['uid']) ? $_GET['uid'] : null; $credits = isset($_GET['currency']) ? $_GET['currency'] : null; $type = isset($_GET['type']) ? $_GET['type'] : null; $refId = isset($_GET['ref']) ? $_GET['ref'] : null; $signature = isset($_GET['sig']) ? $_GET['sig'] : null; $result = false; if (!empty($userId) && !empty($credits) && isset($type) && !empty($refId) && !empty($signature)) { $signatureParams = array( 'uid' => $userId, 'currency' => $credits, 'type' => $type, 'ref' => $refId ); $signatureCalculated = generateSignature($signatureParams, SECRET); // check if IP is in whitelist and if signature matches if (in_array($_SERVER['REMOTE_ADDR'], $ipsWhitelist) && ($signature == $signatureCalculated)) { $result = true; if ($type == CREDIT_TYPE_CHARGEBACK) { // Deduct credits from user // This is optional, but we recommend this type of crediting to be implemented as well // Note that currency amount sent for chargeback is negative, e.g. -5, so be caferul about the sign // Don’t deduct negative number, otherwise user will get credits instead of losing them } else { // Give credits to user } } } if ($result) { echo 'OK'; } function generateSignature($params, $secret) { $str = ''; foreach ($params as $k=>$v) { $str .= "$k=$v"; } $str .= $secret; return md5($str); }
Payment wall ping back example for subscription
<?php define('SECRET', 'ab896ebbfc0bc708defd01928b25eff6'); define('CREDIT_TYPE_CHARGEBACK', 2); $ipsWhitelist = array( '174.36.92.186', '174.36.96.66', '174.36.92.187', '174.36.92.192', '174.37.14.28' ); $userId = isset($_GET['uid']) ? $_GET['uid'] : null; $goodsId = isset($_GET['goodsid']) ? $_GET['goodsid'] : null; $length = isset($_GET['slength']) ? $_GET['slength'] : null; $period = isset($_GET['speriod']) ? $_GET['speriod'] : null; $type = isset($_GET['type']) ? $_GET['type'] : null; $refId = isset($_GET['ref']) ? $_GET['ref'] : null; $signature = isset($_GET['sig']) ? $_GET['sig'] : null; $result = false; if (!empty($userId) && !empty($goodsId) && isset($type) && !empty($refId) && !empty($signature)) { $signatureParams = array( 'uid' => $userId, 'goodsid' => $goodsId, 'slength' => $length, 'speriod' => $period, 'type' => $type, 'ref' => $refId ); $signatureCalculated = generateSignature($signatureParams, SECRET); // check if IP is in whitelist and if signature matches if (in_array($_SERVER['REMOTE_ADDR'], $ipsWhitelist) && ($signature == $signatureCalculated)) { $result = true; if ($type == CREDIT_TYPE_CHARGEBACK) { // Take membership from user // This is optional, but we recommend this type of crediting to be implemented as well } else { // Give membership to user } } } if ($result) { echo 'OK'; } /** * Generates signature using given parameters array and secret * * @param array $params * @param string $secret * @return string */ function generateSignature($params, $secret) { $str = ''; foreach ($params as $k=>$v) { $str .= "$k=$v"; } $str .= $secret; return md5($str); }
$userid = $params->get('userid);
<iframe src="http://wallapi.com/api/ps/?key=ab6d1a924fb8ee2202518c0ee251b815&uid=$userid&widget=p1_1" width="620" height="800" frameborder="0"></iframe>
i think this fix it?
-
haha, i wanted to use paymentwall since it got many donation option. you can donate by using cellphone, bank transfer, paypall and many more methods
-
614
-
i use Flux CP.
i forget to ask 1 more question
how to link the paymentwall with my flux CP's Donation Credits
2025-03-19kro (en)
in Client Releases
Posted
thank you. it works!