Jump to content

PewN

Members
  • Posts

    892
  • Joined

  • Last visited

Everything posted by PewN

  1. how can i change the party exp rate? cuz i can't find it on conf/battle/exp?
  2. gonna try it thx for your reply emistry! thx it works!
  3. PewN

    Custom Mounts?

    try using @mount2. and client 2010-11-24 or higher only supported those mounts. awtz ~.~
  4. Help anyone i download the latest Ra Revision and i know that there's a custom mount there i add the reins of mount on my db/pre-re/item_db but when i click it nothing happened? im using 2010-07-30 with alexandria data .
  5. sir fan en why its bug when i reach + 13 and up. doesn't do anything?
  6. change the thank sir, but it doest work.. L_clear: set $pvp4nA,0; set $pvp4nB,0; set $pvp4nAchar1,0; set $pvp4nBchar1,0; close; end; OnKillEvent: if(strcharinfo(3) == "guild_vs1"){ announce ""+strcharinfo(0)+" Won!",0; getitem 501,20; // you can add the reward here! warp "prontera",159,186; close; end; } } change the OnKillEvent on. OnPCKillEvent: // sorry a mistake ther e
  7. OnKillEvent: if(strcharinfo(3) == "mapname"){ announce ""+strcharinfo(0)+" Won!",0; getitem id,quantity; // you can add the reward here! warp "prontera",0,0; end; }
  8. ~.~ make it clearly i don't understand what you say! they will teleport to area [b]guildvs1[/b], after battle the lose player automatically teleport to prontera. and the question is..
  9. OnPCDieEvent: if(strcharinfo(3) == "guild_vs3" ){ warp "prontera",0,0; end; }
  10. where can i download other revision of rathena i want to dl revision 16690 help asap!
  11. nice! thanks for this script Fan en! why mine is 100 % event the successrate is 10%? and why mine can only +11? im using ra and set it to pre-re
  12. PewN

    Request

    no. npc. i will input the name of the character. then on the character name i input there is a mes "Hi"; close; will pop up on that character i input!
  13. i want to attach the function on a player i input. how can i do that? [code] - script suspect -1,{ Main: mes "[ Police ]"; mes "Do you have a suspect botter?"; next; switch(select("Yes:No")){ case 1: mes "[ Police ]"; mes "Please input the name!"; input .@name$; query_sql "SELECT `char_id` FROM `char` WHERE `name` = '"+.@name$+"'",.@charid; if (!.@charid) { mes "The name is invalid."; next; goto Main; } else set .@charid,0; mes "[ Police ]"; mes "thx for reporting!"; close2; callfunc("propaganda",.@name$); case 2: mes "[ Police ]"; mes "Okay bye!"; close; } } prontera,158,159,4 duplicate(suspect) Police 859 function script propaganda { set .@ranbot,rand(1,5); if (.@rhea_ran == 1) { mes "[ Police ]"; mes "What is your name!"; input .@Input$; if( .@Input$ == strcharinfo(0) ){ mes "Correct."; close2; detachrid; } else { mes "[ Police ]"; mes "Wrong!"; warp "seasons",0,0; detachrid; end; } } if (.@rhea_ran == 2) { mes "[ Police ]"; mes "if A = 3, B = 5, C = 10"; mes "A+B+C = ?"; input .@pwd$; if(.@pwd$!="18"){ mes "[ Police ]"; mes "Correct!"; close2; detachrid; } else { mes "[ Police ]"; mes "Wrong!"; warp "seasons",0,0; detachrid; end; } } if (.@rhea_ran == 3) { mes "[ Police ]"; mes "Type the Code given!"; set .@str$,""; for(set .@i,0; .@i<10; set .@i,.@i+1) set .@str$, .@str$+rand(9); mes .@str$; input .@i$; if (.@i$ != .@str$){ mes "[ Police ]"; mes "Correct!"; close2; detachrid; } else { mes "[ Police ]"; mes "Wrong!"; warp "seasons",0,0; detachrid; end; } } if (.@rhea_ran == 4) { mes "[ Police ]"; mes "What is the name of this RO?"; input .@server; if(.@pwd$!="Seasons of Ragnarok"){ mes "[ Police ]"; mes "Correct!"; close2; detachrid; } else { mes "[ Police ]"; mes "Wrong!"; warp "seasons",0,0; detachrid; end; } } if (.@rhea_ran == 4) { atcommand "@disguise 1603"; mes "[ Police ]"; mes "What kind of monster are you?"; input .@poring; if(.@pwd$!="Lunatic"){ atcommand "@undisguise"; mes "[ Police ]"; mes "Correct!"; close2; detachrid; } else { atcommand "@undisguise"; mes "[ Police ]"; mes "Wrong!"; warp "seasons",0,0; detachrid; end; } } } [/code] bump!
  14. PewN

    Request

    set the header! map,x,y<tab>script<tab>npcname<tab>Spriteid,{
  15. PewN

    Homun S

    yes. rathena support homun s
  16. PewN

    Request

    i want to request a npc. explanation : gm will input the character name. then a npc will pop up on the player i input. that. help please!
  17. max 1 player can give? how can i give 2 players. like player 1 i will set a pods 1. then player 2 i will set ygg 5.?
  18. oh ok. thx for this script man! btw man . i put a escape sql. is this correct? query_sql "SELECT `char_id` FROM `char` WHERE `name` = '"+escape_sql(.@playername$)+"'",.@charid; so i will prevent sql injections
  19. how about this code . can i erase it? query_sql "SELECT `id` FROM `item_db` WHERE `id` = '"+$rewarditem+"'",.@itemreward; if (!.@itemreward) {mes "Item is invalid, not found in database!"; next; goto admin_only; } else set .@itemreward,0;
  20. ok gonna try it thx for your help! but i think i don't have a updated item_db on my item_db.sql
  21. how can i make a sql table like create a table on a text my sql. id | character id | item_id | quantity like this CREATE TABLE IF NOT EXISTS `guildpack` ( `id` int(11) NOT NULL auto_increment, `account_id` int(11) NOT NULL default '0', `name` varchar(23) NOT NULL default '', `last_ip` varchar(100) NOT NULL default '', PRIMARY KEY (`account_id`), KEY (`id`) ) ENGINE=MyISAM; i already make but i don't know if this is correct CREATE TABLE IF NOT EXISTS `claimreward` ( `id` int(11) NOT NULL auto_increment, `char_id` int(11) NOT NULL default '0', `item_id` int(11) NOT NULL default '', `quantity` int(11) NOT NULL default '', PRIMARY KEY (`character_id`), KEY (`id`) ) ENGINE=MyISAM;
  22. i want to request a claim reward npc . gm will set the character name and the itemid and the quantity on the npc. then the character will go to that npc to claim that reward . ok thx in advance !
×
×
  • Create New...