Jump to content

Vincent

Members
  • Posts

    528
  • Joined

  • Last visited

Everything posted by Vincent

  1. Run the Exe as Admin!!! or Try to install this: http://www.microsoft.com/de-de/download/details.aspx?id=5555 btw: this it the standart question at my ro-server from player! Every 2. player have this prob...
  2. Did you set the walkable area's in BowEdit? Here a guide: http://browedit.excalibur-nw.com/?a=viewtopic&id=533 Take a look at Step 9: Gat Tiles.
  3. My PvP NPC have this Chatbox for the Player counter. The problem is the box dont work. Allways 0. I think the problem is when i load the npc is check the counter but dont refresh it so the count is allways the same. waitingroom "PvP("+getmapusers("pvp_n_1-5")+") GvG("+getmapusers("pvp_y_1-2")+")",0; Also this error came up. Is this because of dumplicate the NPC? [Error]: chat_createnpcchat: npc 'Warper#1-1' already has a chatroom, cannot cre ate new one! Script: //--- Warper 1.0.0 -----------------------------------------// //----------------------------------------------------------------// // ttt 000000000 // ttt 000 000 // ttttttttt rrrrrrrrr 000 000 nnnnnnnnn // ttt rrr 000 000 nnn nnn // ttt rrr 000 000 nnn nnn // ttt rrr 000 000 nnn nnn // ttttt rrr 000000000 nnn nnn //----------------------------------------------------------------// //--- Changelogs: ------------------------------------------------// // 1.0.0 Release //----------------------------------------------------------------// //--- Main Script ------------------------------------------------// payon,97,121,3 script Warper#1-1 558,{ waitingroom "PvP("+getmapusers("pvp_n_1-5")+") GvG("+getmapusers("pvp_y_1-2")+")",0; function AddTown; function AddDungeon; function AddField; function LastWarp; //Activate|Deactivate menu here set .lastwarp, 1; set .towns, 1; set .dungeons, 1; set .fields, 1; /////////////////////////////////////////////////////////////////////////////////// set .@rentnpcdate,gettimetick(2)+604800; query_sql "SELECT `date` FROM `rentnpc` WHERE `char_id` = " + getcharid(0) + " AND `npc` = 2", .@renttime; if (.@renttime > gettimetick(2)){ //Set warp fee here set .townfee, 875; set .dungeonfee, 3750; set .fieldfee, 0; set .lastwarpfee, 475; } else { //Set warp fee here set .townfee, 1750; set .dungeonfee, 7500; set .fieldfee, 0; set .lastwarpfee, 950; } /////////////////////////////////////////////////////////////////////////////// //Checks if maps are loaded, (prevents out of index) if(.mapsloaded==1) goto L_warpmenu; set .mapsloaded, 1; //Add Towns here AddTown("Payon[Main Town]", "payon", 110, 115); AddTown("Prontera", "prontera", 155, 183); AddTown("Alberta", "alberta", 28, 234); AddTown("Aldebaran", "aldebaran", 140, 131); AddTown("Amatsu", "amatsu", 198, 84); AddTown("Ayothaya", "ayothaya", 150, 163); AddTown("Comodo", "comodo", 209, 143); //AddTown("Einbech (Mining Village);", "einbech", 70, 95); //AddTown("Einbroch", "einbroch", 64, 200); AddTown("Geffen", "geffen", 119, 59); AddTown("Gonryun", "gonryun", 160, 121); //AddTown("Hugel", "hugel", 96, 145); AddTown("Izlude", "izlude", 128, 114); //AddTown("Jawaii", "jawaii", 213, 230); //AddTown("Lighthalzen", "lighthalzen", 158, 92); AddTown("Louyang", "louyang", 210, 108); AddTown("Lutie", "xmas", 147, 134); //AddTown("Moscovia", "moscovia", 214, 183); AddTown("Morroc", "morocc", 156, 93); //AddTown("Nameless Island", "nameless_n", 256, 215); AddTown("Niflheim", "niflheim", 85, 154); //AddTown("Rachel", "rachel", 130, 137); //AddTown("Thor Camp", "thor_camp", 254, 90); //AddTown("Veins", "veins", 216, 123); AddTown("Yuno", "yuno", 157, 51); AddTown("Umbala", "umbala", 145, 155); //Add Dungeons here //AddDungeon("Abbey, Cursed Monastery", "abbey01", 51, 14); //AddDungeon("Abyss Lakes", "abyss_01", 192, 207); AddDungeon("Amatsu Dungeon", "ama_dun01", 228, 11); AddDungeon("Anthell", "anthell01", 35, 262); AddDungeon("Beach Dungeon", "beach_dun", 266, 67); AddDungeon("Ayothaya Dungeon", "ayo_dun01", 275, 19); AddDungeon("Byalan Dungeon", "iz_dun00", 168, 168); AddDungeon("Clock Tower", "c_tower1", 199, 159); AddDungeon("Coal Mines", "mjo_dun01", 52, 17); AddDungeon("Culverts", "prt_sewb1", 131, 247); //AddDungeon("Einbroch Dungeon", "ein_dun01", 22, 14); //AddDungeon("Gefenia", "gefenia01", 40, 103); AddDungeon("Geffen Dungeon", "gef_dun00", 104, 99); AddDungeon("Glast Heim", "glast_01", 367, 303); AddDungeon("Gonryun Dungeon", "gon_dun01", 153, 53); AddDungeon("Hidden Dungeon", "prt_maze01", 176, 7); //AddDungeon("Ice Dungeon", "ice_dun01", 157, 14); //AddDungeon("Juperos Dungeon", "juperos_01", 53, 247); //AddDungeon("Kiel Dungeon", "kh_dun01", 28, 226); //AddDungeon("Lighthalzen Dungeon", "lhz_dun01", 150, 288); //AddDungeon("The Royal Tomb", "lou_dun01", 218, 196); AddDungeon("Magma Dungeon", "mag_dun01", 126, 68); //AddDungeon("Les Forest", "mosk_dun01", 132, 124); AddDungeon("Orc Dungeon", "orcsdun01", 32, 170); AddDungeon("Payon Dungeon", "pay_dun00", 21, 183); AddDungeon("Pyramids", "moc_pryd01", 192, 9); //AddDungeon("Rachel Sanctuary", "ra_san01", 140, 11); AddDungeon("Sphinx", "in_sphinx1", 288, 9); AddDungeon("Sunken Ship", "treasure01", 69, 24); //AddDungeon("Thanatos Tower", "tha_t01", 150, 39); //AddDungeon("Thor Volcano", "thor_v01", 21, 228); AddDungeon("Toy Factory", "xmas_dun01", 205, 15); AddDungeon("Turtle Dungeon", "tur_dun01", 154, 49); AddDungeon("Umbala Dungeon", "um_dun01", 42, 31); //Add Fields here //AddField("<Map Menu Name>", <"map name">, <x>, <y>); AddField("Arena PvP", "pvp_n_1-5", 0, 0); AddField("Izlude GvG", "pvp_y_1-2", 0, 0); L_warpmenu: mes "[^FF7700 Warper^000000]"; mes "Welcome!"; switch(select(((.lastwarp)?"Last Warp [^0000FF"+((@lastwarpname$)?@lastwarpname$:"^0000FF-empty-^000000")+"^000000] (^FF0000"+.lastwarpfee+"z^000000)":""), ((.towns)?"Towns (^FF0000"+.townfee+"z^000000)":""), ((.dungeons)?"Dungeons (^FF0000"+.dungeonfee+"z^000000)":""), ((.fields)?"PVP (^FF0000"+.fieldfee+"z^000000)":""), "Exit")) { case 1: if (@lastwarpname$=="") close; if( Zeny < .lastwarpfee ) close; set Zeny,Zeny-.lastwarpfee; warp @lastwarpmap$, @lastwarpx, @lastwarpy; break; case 2: set .@townmenu$,""; for (set .@i,0; .@i < getarraysize(.townname$); set .@i,.@i+1) { if (.@i) set .@townmenu$,.@townmenu$+":"; set .@townmenu$,.@townmenu$+.townname$[.@i]; } set .@selection,select(.@townmenu$)-1; if( Zeny < .townfee ) close; set Zeny,Zeny-.townfee; warp .townmap$[.@selection],.townx[.@selection],.towny[.@selection]; LastWarp(.townname$[.@selection], .townmap$[.@selection], .townx[.@selection], .towny[.@selection]); break; case 3: set .@dungeonmenu$,""; for (set .@j,0; .@j < getarraysize(.dungeonname$); set .@j,.@j+1) { if (.@j) set .@dungeonmenu$,.@dungeonmenu$+":"; set .@dungeonmenu$,.@dungeonmenu$+.dungeonname$[.@j]; } set .@selection2,select(.@dungeonmenu$)-1; if( Zeny < .dungeonfee ) close; set Zeny,Zeny-.dungeonfee; warp .dungeonmap$[.@selection2],.dungeonx[.@selection2],.dungeony[.@selection2]; LastWarp(.dungeonname$[.@selection2], .dungeonmap$[.@selection2], .dungeonx[.@selection2], .dungeony[.@selection2]); break; case 4: set .@fieldmenu$,""; for (set .@k,0; .@k < getarraysize(.fieldname$); set .@k,.@k+1) { if (.@k) set .@fieldmenu$,.@fieldmenu$+":"; set .@fieldmenu$,.@fieldmenu$+.fieldname$[.@k]; } set .@selection3,select(.@fieldmenu$)-1; if( Zeny < .fieldfee ) close; set Zeny,Zeny-.fieldfee; warp .fieldmap$[.@selection3],.fieldx[.@selection3],.fieldy[.@selection3]; LastWarp(.fieldname$[.@selection3], .fieldmap$[.@selection3], .fieldx[.@selection3], .fieldy[.@selection3]); break; case 5: next; mes "[^FF7700 Warper^000000]"; mes "Bye!"; close; } function AddTown { if(getmapusers(getarg(1)) >= 0) { set .townname$[getarraysize(.townname$)], getarg(0); set .townmap$[getarraysize(.townmap$)], getarg(1); set .townx[getarraysize(.townx)], getarg(2); set .towny[getarraysize(.towny)], getarg(3); return; } return; } function AddDungeon { if(getmapusers(getarg(1)) >= 0) { set .dungeonname$[getarraysize(.dungeonname$)], getarg(0); set .dungeonmap$[getarraysize(.dungeonmap$)], getarg(1); set .dungeonx[getarraysize(.dungeonx)], getarg(2); set .dungeony[getarraysize(.dungeony)], getarg(3); return; } return; } function AddField { if(getmapusers(getarg(1)) >= 0) { set .fieldname$[getarraysize(.fieldname$)], getarg(0); set .fieldmap$[getarraysize(.fieldmap$)], getarg(1); set .fieldx[getarraysize(.fieldx)], getarg(2); set .fieldy[getarraysize(.fieldy)], getarg(3); return; } return; } function LastWarp { set @lastwarpname$, getarg(0); set @lastwarpmap$, getarg(1); set @lastwarpx, getarg(2); set @lastwarpy, getarg(3); return; } } geffen,112,64,4 duplicate(Warper#1-1) Warper#1-1983-1 612 alberta,35,240,4 duplicate(Warper#1-1) Warper#1-13-1 612 alberta,110,69,4 duplicate(Warper#1-1) Warper#1-13-2 612 aldebaran,147,117,4 duplicate(Warper#1-1) Warper#1-14-3 612 amatsu,190,86,1 duplicate(Warper#1-1) Warper#1-15-1 612 ayothaya,147,123,6 duplicate(Warper#1-1) Warper#1-16-1 612 comodo,206,77,4 duplicate(Warper#1-1) Warper#1-17-1 612 hugel,88,151,5 duplicate(Warper#1-1) Warper#1-110-1 612 izlude,131,110,3 duplicate(Warper#1-1) Warper#1-113-1 612 morocc,156,95,4 duplicate(Warper#1-1) Warper#1-115-1 612 prontera,151,187,4 duplicate(Warper#1-1) Warper#1-116-1 612 yuno,160,170,4 duplicate(Warper#1-1) Warper#1-117-1 612 gonryun,162,122,4 duplicate(Warper#1-1) Warper#1-130-1 612 louyang,221,120,4 duplicate(Warper#1-1) Warper#1-131-1 612 rachel,133,115,4 duplicate(Warper#1-1) Warper#1-135-1 612
  4. Hi, i want that the tower have only 50 Floors. Will it work when i change the script from case 49: warp .@map$,310,12; break; // original code to case 49: warp .@map$,309,12; break; // edit this is the 99 Floor map coords So you are directly at floor 99 and the tower are finsihed?
  5. Thanks great work.
  6. then update you svn. i thing this is the prob.
  7. No, sir i think its correct I'd updae my svn last 15 days, isn't it? Than that isn't the bug i mean. The bug was around 3 week befor at the rev. What exe / lua files / rev are you using'?
  8. There was also a bug in the the past. Try to update your rathena.
  9. Ah thanks Edit: Best Awnser goes to Euphy because he also explain how it workd but both become +repuration
  10. Hi, i have a If/ else if / else function in my script. Where player get item via getitem. If i use ony onetime "getitem" the script worked but if i add more than one "getitem" into the statsment the script dont work and create error at the mapserver: Dont work (3 getitem via) if (.@checker_level > 9) getitem 509, rand(20, 50); // white herb getitem 510, rand(1, 10); // Blue herb getitem 521, rand(1, 5); // Aloe Leaf else if (.@checker_level > 19) getitem 509, rand(45, 85); // white herb getitem 510, rand(9, 25); // Blue herb getitem 521, rand(15, 35); // Aloe Leaf else getitem 507, rand( 10, 75); // red herb getitem 508, rand(1, 10); // yellow herb Work (only one getitem via if) if (.@checker_level > 9) getitem 509, rand(20, 50); // white herb //getitem 510, rand(1, 10); // Blue herb //getitem 521, rand(1, 5); // Aloe Leaf else if (.@checker_level > 19) getitem 509, rand(45, 85); // white herb //getitem 510, rand(9, 25); // Blue herb //getitem 521, rand(15, 35); // Aloe Leaf else getitem 507, rand( 10, 75); // red herb //getitem 508, rand(1, 10); // yellow herb Error: [Error]: Loading NPC file: npc/custom/script.txt script error on npc/custom/tree_script.txt line 98 parse_line: expect command, missing function name or calling undeclared function
  11. Than you have a problem i dont thing that anybody will code you a complete new board with your wishes. BTw: Its not so complicated read this http://rathena.org/wiki/Basic_Scripting and after that you can easy edit the board.
  12. Here is a Questboard. With this you can easy create a quest where player have to hunt items ad get a reward. http://rathena.org/board/topic/60376-tr0ns-questboard-144/?hl=questboard
  13. A item random out of the list you create or a item out of the complete ro db?
  14. V4P is outdated use a newer Addon.
  15. thanks. Like everytime to DeadlySilence, Emistry and Skorm.
  16. Hi, how is it possible to make the amount of items random? for example random 1-10. if (.@check_level > 4) getitem 508,1; else getitem 507,1;
  17. I try it but the client close again...
  18. Hi, i am using this Addon for Flux: http://rathena.org/board/files/file/2849-vote-for-points-for-fluxcp-free/. All is working fine, but where can i see how many Points a Player have?
  19. What file? You forgot to post the link??
  20. That's right. That's what newer clients do. For security reason, the client will terminate itself when you log out or entered the wrong password. Not really, you still have another chance for this one. There's a solution to fix that one.you may google on how to hex it. Hey, I found a client that is currently doing what you want. it's named 2012-04-10aRagexeRE_S.exe (undiffed) Dont work i diffed the exe but the client close als well when i log out.
  21. If i use the Plugin With Xantara's FluxCP the Area where i have to tip the name for site ect. have no name:
  22. other word i cant do anything with this client and have to use a older ragExe?
  23. Hi, if i want to change to a second acc and log out from my frist acc the client close. Is there a way that i come back to login screen? I am using 2012-04-10aRagexeRE.
  24. Thanks DeadlySilence and Euphy for you help all worked. And yes the NPC get cloned itself
×
×
  • Create New...