Jump to content

karazu

Members
  • Content Count

    1115
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by karazu

  1. so setarray rmap$[0],"prontera,payon,test,test2"; is the correct?
  2. hello Angelmelody what if I will add another map? how to put/insert it? like this one? Oninit: setarray rmap$[0],"prontera"; setarray rmap$[0],"prontera"; setarray rmap$[0],"prontera"; ??
  3. probably something to do with the 2013 client?
  4. can anyone make me a script like will do @raisemap on a certain map every 1 minute?
  5. I did just try, but its ok now. lol I forgot to convert my lua to lub.
  6. I tested it in game and works fine. I just don't know it has an issue in compiling vending.c: In function 'vending_purchasereq':vending.c:256: warning: 'item_name' may be used uninitialized in this function LD map-server - Not sure what that is because I did not try it on linux - I think yes. It's a Notice. Not a Warning or Error. I also tried my NPC with the "Zeny" as variable an works fine. My zeny are getting deducted/gained. I dont know but every time I try to @item the items 30000 and 30001 they are Unknown item. also when i use Vend skill they are also Unknown items in the choices
  7. I tested it in game and works fine. I just don't know it has an issue in compiling vending.c: In function 'vending_purchasereq':vending.c:256: warning: 'item_name' may be used uninitialized in this function LD map-server so its ok?
  8. using yours but what is this all about? vending.c: In function 'vending_purchasereq':vending.c:256: warning: 'item_name' may be used uninitialized in this function LD map-server at map [Notice]: Conflicting item/script var 'Zeny', prioritising the script var
  9. hello seven, but in that BG event your partners are in random? so getting party name is not possible since u are not the one who made the party or party is automatically build?
  10. http://herc.ws/board/topic/2509-custom-battle-ground-by-goddammit-not-properly-working/page-2#entry17316
  11. //Author-Script Goddameit My forum : http://bit.ly/MDuQ9F //Author-Map TrojanWorm//Version 2012-10-31//Don't re-release in anywhere and anyway//////////////////////////////////////////////////////////////////////////endless_war mapflag battleground 2endless_war,218,86,0 script #BattleGroundwarpA2 100,{ end;OnInit: waitingroom "Join Team A(Click)",2,"#BattleGroundwarpA2::OnJoin",1; end;OnJoin: if(!$@bg_id_a) set $@bg_id_a,waitingroom2bg("endless_war",205,85,"",""); else waitingroom2bg_single($@bg_id_a,"endless_war",205,85,"#BattleGroundwarpA2"); warpwaitingpc "endless_war",205,85; end;}endless_war,40,86,0 script #BattleGroundwarpB2 100,{ end;OnInit: waitingroom "Join Team B(Click)",2,"#BattleGroundwarpB2::OnJoin",1; end;OnJoin: if(!$@bg_id_ set $@bg_id_b,waitingroom2bg("endless_war",53,85,"",""); else waitingroom2bg_single($@bg_id_b,"endless_war",53,85,"#BattleGroundwarpB2"); warpwaitingpc "endless_war",53,85; end;}endless_war,165,86,0 script #BattleGroundwarpA1 45,2,2,{ warp "endless_war",161,86; end;}endless_war,90,86,0 script #BattleGroundwarpB1 45,2,2,{ warp "endless_war",94,86; end;}prontera,150,180,4 script Battle Ground 100,{ if(.status==2) { mes "Game is running."; close; } if(.status==1) { if(.playernm>=64) { mes "Sorry, full"; close; } select("Join"); if(!.playerid[1]) { //callsub OnEndd; initnpctimer; } set .playernm,.playernm+1; set .playerid[.playernm],getcharid(0); mes "Complete"; close; } end;OnMinute00:OnMinute10:OnMinute20:OnMinute30:OnMinute40:OnMinute50: callsub OnActive; end;OnActive: callsub OnEndd; set .status,1; Announce "[Battle Ground]:Someone active the game! Go to prontera,150,180 and join us!",0; end;OnTimer60000: if(.playernm<=1) { Announce "[Battle Ground]:Sorry, player amount isn't enough",0; callsub OnEndd; end; } Announce "[Battle Ground]:Event is ready!",0; for(set .@i,1;.@i<=.playernm;set .@i,.@i+1) { if(.@i%2==0) warpchar "endless_war",218,86,.playerid[.@i]; else warpchar "endless_war",40,86,.playerid[.@i]; } callsub OnEnab2; end;OnTimer90000: set .status,2; Announce "[Battle Ground]:Go!",0; bg_monster $@bg_id_a,"endless_war",128,120,"A",1907,"Battle Ground::OnAdestory"; bg_monster $@bg_id_b,"endless_war",127,46,"B",1907,"Battle Ground::OnBdestory"; callsub OnEnab1; end;OnTimer190000: if(.point[1]>.point[2]){ set .bg_id_w,$@bg_id_a; Announce "[Battle Ground]:Team A Win!",0; }else if(.point[2]>.point[1]){ set .bg_id_w,$@bg_id_b; Announce "[Battle Ground]:Team B Win!",0; }else{ set .bg_id_w,-1; Announce "[Battle Ground]:Draw!",0; } for( set .i,1; .i <= getarraysize(.playerid[.i]); set .i,.i+1 ){ if( attachrid(.playerid[.@i]) ){ //Prize if Team A win if(.bg_id_w == -1){ getitem 605,1;} //If Match Draws else if( getcharid(4) == .bg_id_w ) { getitem 605,1;} //If Someone Wins } } sleep2 3000; callsub OnEndd; end;OnBdestory: set .point[1],.point[1]+5; set .point[2],.point[2]-3; bg_updatescore "endless_war",.point[1],.point[2]; detachrid; sleep2 10000; bg_monster $@bg_id_b,"endless_war",127,46,"B",1907,"Battle Ground::OnBdestory"; end;OnAdestory: set .point[2],.point[2]+5; set .point[1],.point[1]-3; bg_updatescore "endless_war",.point[1],.point[2]; detachrid; sleep2 10000; bg_monster $@bg_id_a,"endless_war",128,120,"A",1907,"Battle Ground::OnAdestory"; end;OnEndd: set .status,0; bg_destroy $@bg_id_a; bg_destroy $@bg_id_b; set $@bg_id_a,0; set $@bg_id_b,0; setarray .point[1],0,0; killmonsterall "endless_war"; bg_updatescore "endless_war",.point[1],.point[2]; deletearray .playerid[0],64; mapwarp "endless_war","prontera",150,180; callsub OnDisa; return;OnEnab1: enablenpc "#BattleGroundwarpA1"; enablenpc "#BattleGroundwarpB1"; return;OnEnab2: enablenpc "#BattleGroundwarpA2"; enablenpc "#BattleGroundwarpB2"; return;OnDisa: disablenpc "#BattleGroundwarpA1"; disablenpc "#BattleGroundwarpB1"; disablenpc "#BattleGroundwarpA2"; disablenpc "#BattleGroundwarpB2"; return;OnInit: sleep2 10000; setwall "endless_war",218,87,1,1,0,"BattleGroundwarpA21"; setwall "endless_war",219,87,1,1,0,"BattleGroundwarpA22"; setwall "endless_war",219,86,1,1,0,"BattleGroundwarpA23"; setwall "endless_war",219,85,1,1,0,"BattleGroundwarpA24"; setwall "endless_war",218,85,1,1,0,"BattleGroundwarpA25"; setwall "endless_war",217,85,1,1,0,"BattleGroundwarpA26"; setwall "endless_war",217,86,1,1,0,"BattleGroundwarpA27"; setwall "endless_war",217,87,1,1,0,"BattleGroundwarpA28"; setwall "endless_war",40,87,1,1,0,"BattleGroundwarpB21"; setwall "endless_war",41,87,1,1,0,"BattleGroundwarpB22"; setwall "endless_war",41,86,1,1,0,"BattleGroundwarpB23"; setwall "endless_war",41,85,1,1,0,"BattleGroundwarpB24"; setwall "endless_war",40,85,1,1,0,"BattleGroundwarpB25"; setwall "endless_war",39,85,1,1,0,"BattleGroundwarpB26"; setwall "endless_war",39,86,1,1,0,"BattleGroundwarpB27"; setwall "endless_war",39,87,1,1,0,"BattleGroundwarpB28"; callsub OnEndd; end;OnPCKillEvent: if(strcharinfo(3)=="endless_war" && $@bg_id_a && $@bg_id_ { if(getcharid(4) == $@bg_id_a) { set .point[1],.point[1]+1; }else set .point[2],.point[2]+1; bg_updatescore "endless_war",.point[1],.point[2]; } end;}
  12. The problem is http://herc.ws/board/topic/2509-custom-battle-ground-by-goddammit-not-properly-working/ no one is goin gto help
  13. I am looking for a scripter who can build an event or something that I want to. -Script should be in Hercules base. I am from Philippines. I dont have Paypal. I am not a scammer PM ME if ur interested so we can talk.
  14. Its not in the item_db
  15. diff patch will do, I will just copy paste them
  16. karazu

    Elven Bow

    ohh isee! thank you!
  17. karazu

    Elven Bow

    in iRO its http://db.irowiki.org/db/item-info/1746/ Set bonus with Elven Arrow:Increases Ranged Attack damage by 50%. but in the item_db.txt this is only in the script? 1746,Elven_Bow,Elven Bow,4,20,,1500,160,,5,1,0x00080800,56,2,34,3,100,1,11,{ bonus bDex,2; },{},{} any confirmation?
  18. Do take note it's only a warning, not an error, it should still have compiled. Thank you for the answer, I was also searching, I just want to confirm if its fine. Thank you again.
  19. make[1]: warning: Clock skew detected. Your build may be incomplete. make[1]: Leaving directory `/home/*********/trunk/src/map' building conf/import folder...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.