Jump to content

quesoph

Members
  • Content Count

    562
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by quesoph

  1. @edit Oh crap I forgot about the @at command. @all You can use this if your player doesn't have @at command.
  2. prontera,165,185,4 script Card Remover 100,{ disable_items; mes "["+strnpcinfo(1)+"]"; mes "Do u want to remove some cards?"; if(select("Remove Card","Close") == 2 ) close; mes " ","Choose an item."; setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; set .@menu$,""; for( set .@i,1; .@i <= 10; set .@i,.@i+1 ) { if( getequipisequiped(.@i) ) set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@menu$, .@menu$ + ":"; } set .@part, select(.@menu$); if( !getequipisequiped(.@part) ) { mes " ","Check Equip."; close; } if(getequipcardcnt(.@part) == 0) { mes " ","No cards compounded."; close; } successremovecards .@part; close;}
  3. [Sat Apr 05 20:21:43 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/texture/xc3x80xc2xafxc3x80xc3xbaxc3x80xc3x8exc3x85xc3x8dxc3x86xc3xa4xc3x80xc3x8cxc2xbdxc2xba/bgi_temp.png, referer: http://localhost/ro/build/ThreadEventHandler.js[Sat'>http://localhost/ro/build/ThreadEventHandler.js[Sat Apr 05 20:21:43 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/lua files/admin/pcjobname.lub, referer: http://localhost/ro/build/ThreadEventHandler.js[Sat'>http://localhost/ro/build/ThreadEventHandler.js[Sat Apr 05 20:21:43 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/lua files/admin/pcjobnamegender.lub, referer: http://localhost/ro/build/ThreadEventHandler.js[Sat'>http://localhost/ro/build/ThreadEventHandler.js[Sat Apr 05 20:21:43 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/lua files/datainfo/weapontable.lub, referer: http://localhost/ro/build/ThreadEventHandler.js[Sat'>http://localhost/ro/build/ThreadEventHandler.js[Sat Apr 05 20:21:44 2014] [error] [client 127.0.0.1] File does not exist: C:/Xampp/htdocs/ro/client/data/texture/xc3x80xc2xafxc3x80xc3xbaxc3x80xc3x8exc3x85xc3x8dxc3x86xc3xa4xc3x80xc3x8cxc2xbdxc2xba/scroll0down.png, referer: http://localhost/ro/build/ThreadEventHandler.js Apache errors.. @edit In Chrome It works great but when i am using firefox it only shows black screen.. @edit I managed to make it work with firefox. I didn't notice that I set debug to true. >.<
  4. That NPC is broken. Use this instead. http://herc.ws/board/topic/5104-how-can-i-add-soul-link-buffs-on-this-script/#entry32872
  5. @Suggestion Use bc_self so that output will be clearer.. and if ( getguildname( .guild_id[.i] ) == "null" ) requestguildinfo .guild_id[.i]; Other guild names become NULL when you restart your server. mes "Sending data..."; announce "Format: Data Based on "+gettime(5)+"Days/"+$AgitCount+" Castles",bc_self,0xff6622; announce "[GuildName] - Breaks - Kills - Death - GuildPoints "+((getgmlevel()>=getvariableofnpc(.Config_UGR[4],"UltimateRanker#00"))?"- Active Partrticipant":"")+" ",bc_self,0xff6622; announce "----------------------",bc_self,0xff6622; for (.i=0; .i<getarraysize(.guild_id); .i++){ if ( getguildname( .guild_id[.i] ) == "null" ) requestguildinfo .guild_id[.i]; announce (.i+1) +". [ "+getguildname(.guild_id[.i])+" ] - "+.breaks[.i]+" - ^66D729"+.kills[.i]+" - "+.deaths[.i]+"0 - "+.percent[.i]+" "+((getgmlevel()>=getvariableofnpc(.Config_UGR[4],"UltimateRanker#00"))?"- "+.apart[.i]+"":"")+"",bc_self,0xff6622; } announce "----------------------",bc_self,0xff6622; @question What is this for? ((getgmlevel()>=getvariableofnpc(.Config_UGR[4],"UltimateRanker#00"))?" - Active Partrticipant":"")+" " if gm level is greater than or equals 3600 show "- Active Partrticipant" ? correct me if i am wrong.
  6. You can delete them if you like..
  7. - script Healer -1,{ set .@Price,0; // Zeny required for heal set .@Buffs,1; // Also buff players? (1: yes / 0: no) set .@Delay,0; // Heal delay, in seconds callfunc "F_ClearGarbage",0; switch ( BaseJob ) { case 18: .@spirit = 445; break; case 20: case 15: .@spirit = 447; break; case 19: .@spirit = 455; break; case 4047: .@spirit = 448; break; case 17: .@spirit = 456; break; case 16: .@spirit = 449; break; case 12: .@spirit = 457; break; case 14: .@spirit = 450; break; case 10: .@spirit = 458; break; case 23: .@spirit = 451; break; case 11: .@spirit = 460; break; case 7: .@spirit = 452; break; case 4049: .@spirit = 461; break; case 8: .@spirit = 454; break; case 9: .@spirit = 453; break; } if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0),"Healing costs "+.@Price+" Zeny."; if (Zeny < .@Price) end; if(select("^0055FFHeal^000000:^777777Cancel^000000") == 2) close; set Zeny, Zeny-.@Price; } specialeffect2 EF_HEAL2; percentheal 100,100; if (.@Buffs) { for( .@i = 0; .@i < getarraysize( .Buffs$ ); .@i++ ) { .@sum = atoi(.@b$[.@i]) + .min_Levels[.@i]; .@j = .Buffs$[.@i]; stand (strcharinfo(0)); // <- Added this so characters dont get stuck when soul link is casting. if( .@sum ) sc_start4 .@j, 240000, 5, .@spirit,0,0; if ( .min_Levels[3] ) skilleffect .@spirit, 5; // Start Soul Link Effect. } } if (.@Delay) set @HD, gettimetick(2)+.@Delay; close;OnInit: setarray .Buffs$, SC_INC_AGI, SC_BLESSING, SC_KYRIE, SC_SOULLINK; setarray .min_Levels, 5, 5, 1, 5; end; }prontera,163,185,6 duplicate(Healer) Healer1#alb 909
  8. - script Healer -1,{ set .@Price,0; // Zeny required for heal set .@Buffs,1; // Also buff players? (1: yes / 0: no) set .@Delay,0; // Heal delay, in seconds callfunc "F_ClearGarbage",0; if (@HD > gettimetick(2)) end; if (.@Price) { message strcharinfo(0),"Healing costs "+.@Price+" Zeny."; if (Zeny < .@Price) end; if(select("^0055FFHeal^000000:^777777Cancel^000000") == 2) close; set Zeny, Zeny-.@Price; } specialeffect2 EF_HEAL2; percentheal 100,100; if (.@Buffs) { for( .@i = 0; .@i < .size_buff; .@i++ ) { .@sum = atoi(.@b$[.@i]) + .min_Levels[.@i]; .@j = .Buffs$[.@i]; stand (strcharinfo(0)); // <- Added this so characters dont get stuck when you cast soul link when sitting. if( .@sum ) sc_start .@j, 240000, .@sum; if ( .min_Levels[3] ) { skilleffect 461, 5; // show soul link effect. message strcharinfo(0),jobname(BaseJob)=="Bard"||jobname(BaseJob)=="Dancer"?"Bard and Dancer Spirit !!":jobname(BaseJob)+" Spirit !!"; } } } if (.@Delay) set @HD, gettimetick(2)+.@Delay; close;OnInit: deletearray .Buffs$; deletearray .min_Levels; setarray .Buffs$, SC_INC_AGI, SC_BLESSING, SC_KYRIE, SC_SOULLINK; // SC_INC_AGI if you're using hercules. setarray .min_Levels, 5, 5, 1, 1; .size_buff = getarraysize( .Buffs$ ); end; }prontera,163,185,6 duplicate(Healer) Healer#alb 909 http://herc.ws/board/topic/2919-soul-linker-npc-bug/?p=19358
  9. For server 1: For Server 2: clientinfo.xml <?xml version="1.0" encoding="euc-kr" ?><clientinfo><servicetype>america</servicetype><servertype>primary</servertype><hideaccountlist></hideaccountlist> <connection> <balloon>serverdesc!</balloon> <desc>8000x 8000x 8000x</desc> <address>127.0.0.1</address> <port>6900</port> <version>30</version> <langtype>0</langtype> <registrationweb></registrationweb> <aid> <admin>2000000</admin> </aid> <yellow> <admin></admin> </yellow> <loading> <image>loading00.jpg</image> </loading> </connection> <connection> <balloon>serverdesc!</balloon> <desc>8000x 8000x 8000x</desc> <address>127.0.0.1</address> <port>6900</port> <version>30</version> <langtype>0</langtype> <registrationweb></registrationweb> <aid> <admin>2000000</admin> </aid> <yellow> <admin></admin> </yellow> <loading> <image>loading00.jpg</image> </loading> </connection></clientinfo> @edit Make sure these ports are open 6122, 5122.
  10. Post your map-server's error.
  11. All you have to do is to change server two's ports ( char and map ), userid, passwd, database, clientinfo.xml. @edit Post your map-server's error.
  12. ^ its because he was asking for 1 Login server. Create another account in your login table. user_id: s2 user_pass: p2 sex: S *I assumed that your databases and ports are good to go. Now go your char-server.conf change this to userid: s2 passwd: p2 And map-server.conf userid: s2 passwd: p2
  13. Are you using a vps with 2 server in it? I think you need something like this: <?xml version="1.0" encoding="euc-kr" ?><clientinfo><servicetype>america</servicetype><servertype>primary</servertype><hideaccountlist></hideaccountlist> <connection> <balloon>serverdesc!</balloon> <desc>8000x 8000x 8000x</desc> <address>127.0.0.1</address> <port>6900</port> <version>39</version> <langtype>0</langtype> <registrationweb></registrationweb> <aid> <admin>2000000</admin> </aid> <yellow> <admin></admin> </yellow> <loading> <image>loading00.jpg</image> </loading> </connection> <connection> <balloon>serverdesc!</balloon> <desc>8000x 8000x 8000x</desc> <address>127.0.0.1</address> <port>6900</port> <version>39</version> <langtype>0</langtype> <registrationweb></registrationweb> <aid> <admin>2000000</admin> </aid> <yellow> <admin></admin> </yellow> <loading> <image>loading00.jpg</image> </loading> </connection></clientinfo> Its been a while since I made multiple server so I am not really sure. hehe. @edit Now I am sure cause I tested it.
  14. lol I didn't notice that there was a new version. Thank you btw!
  15. 1. Whenever I @agitstart & @agitstop and @reloadnpc this executes set $AgitCount, $AgitCount + 1;. and may high percentage / guild points bug. 2. [SQL]: DB error - Column 'percent' cannot be null[Debug]: at c:testsrcmapscript.c:14582 - UPDATE `ugr_guild_info` SET `percent`=( ((1/3*100)*20/100)+((`kills`/(`deaths`+1)*100)*10/100)+((`breaks`/1*100)*50/100)+((`APart`/(select count(*) FROM `guild` WHERE `guild`.`guild_id`=`ugr_guild_info`.`guild_id`)*100)*20/100)) WHERE `date`=201403[Debug]: Source (NPC): UltimateGuildRanker at prontera (153,181) break emperium and use @breakguild then check UGR npc. These are the problems I've encountered so far.. ^^
  16. - script adssfcvb -1,{OnCommand: if ( !countitem(501) ) { // change 501 to your item id. dispbottom "You must have an Font Ticket to use this command"; end; } atcommand "@font " + .@atcmd_parameters$; end; OnInit: bindatcmd "font", strnpcinfo(3)+"::OnCommand"; // HERE PLEASE STRNPCINFO(3) end;} Then remove the delitem part.
  17. Its an visual effect delay. Healing shouldn't be affected by it.
  18. - script adssfcvb -1,{OnCommand: if ( !countitem(501) ) { // change 501 to your item id. dispbottom "You must have an Font Ticket to use this command"; end; } delitem 501,1; // change 501 to your item id. atcommand "@font " + .@atcmd_parameters$; end; OnInit: bindatcmd "font", strnpcinfo(3)+"::OnCommand"; // HERE PLEASE STRNPCINFO(3) end;}
  19. My client (http://localhost/ro/client/) doesn't load. but yours do work grf.robrowser.com
×
×
  • Create New...

Important Information

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