quesoph
-
Content Count
562 -
Joined
-
Last visited
-
Days Won
6
Posts posted by quesoph
-
-
@edit
Oh crap I forgot about the @at command.
@all
You can use this if your player doesn't have @at command.
-
^ done thanks
-
Update on first post.
-
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;}
-
[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. >.<
-
That NPC is broken.
Use this instead.
http://herc.ws/board/topic/5104-how-can-i-add-soul-link-buffs-on-this-script/#entry32872
-
Like @duel ?
-
@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.
-
You can delete them if you like..
-
- 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
IndieRO and mrlongshen reacted to this -
- 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
-
For server 1:
../conf/import/char_conf.txt
userid: s1passwd: p1server_name: server 1login_ip: 127.0.0.1login_port: 6900char_ip: 127.0.0.1char_port: 6121
../conf/import/map_conf.txt
userid: s1passwd: p1char_ip: 127.0.0.1char_port: 6121map_ip: 127.0.0.1map_port: 5121
../conf/import/map_conf.txt
sql.db_hostname: 127.0.0.1sql.db_port: 3306sql.db_username: ragnaroksql.db_password: ragnaroksql.db_database: ragnaroksql.codepage:// MySQL Character SQL serverchar_server_ip: 127.0.0.1char_server_port: 3306char_server_id: ragnarokchar_server_pw: ragnarokchar_server_db: ragnarok// MySQL Map SQL Servermap_server_ip: 127.0.0.1map_server_port: 3306map_server_id: ragnarokmap_server_pw: ragnarokmap_server_db: ragnarok// MySQL Log SQL Databaselog_db_ip: 127.0.0.1log_db_port: 3306log_db_id: ragnaroklog_db_pw: ragnaroklog_db_db: loglog_codepage:log_login_db: loginlog
For Server 2:
../conf/import/char_conf.txt
userid: s2passwd: p2server_name: server 2login_ip: 127.0.0.1login_port: 6900char_ip: 127.0.0.1char_port: 6122
../conf/import/map_conf.txt
userid: s2passwd: p2char_ip: 127.0.0.1char_port: 6122map_ip: 127.0.0.1map_port: 5122
../conf/import/map_conf.txt
sql.db_hostname: 127.0.0.1sql.db_port: 3306sql.db_username: ragnarok // same username doesn't matter if same with server 1 as long as you have right privilegessql.db_password: ragnarok // same as above.sql.db_database: ragnarok1 // new database.sql.codepage:// MySQL Character SQL serverchar_server_ip: 127.0.0.1char_server_port: 3306char_server_id: ragnarokchar_server_pw: ragnarokchar_server_db: ragnarok1// MySQL Map SQL Servermap_server_ip: 127.0.0.1map_server_port: 3306map_server_id: ragnarokmap_server_pw: ragnarokmap_server_db: ragnarok1// MySQL Log SQL Databaselog_db_ip: 127.0.0.1log_db_port: 3306log_db_id: ragnaroklog_db_pw: ragnaroklog_db_db: log1log_codepage:log_login_db: loginlog
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.
-
Post your map-server's error.
-
All you have to do is to change server two's ports ( char and map ), userid, passwd, database, clientinfo.xml.
@edit
map server 1 will be disconnected.
Post your map-server's error.
-
^ its because he was asking for 1 Login server.
@quesoph Still the same bro, everytime i ./athena-start start my Server 2, Server 1 will be disconnected..
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: p2And map-server.conf
userid: s2
passwd: p2 -
-
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.
-
Show your clientinfo.xml..
-
(you were using v1.0b, while v1.0c was out, anyways new version will be v1.0d, and will have these problems fixed.)
lol I didn't notice that there was a new version. Thank you btw!
-
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.. ^^
-
- 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.
-
Its an visual effect delay. Healing shouldn't be affected by it.
-
- 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;}
-
Re-Implement dbghelpplug.dll Windows Crash Dump
in Plugin Requests
Posted
Check you ../src/plugins/ folder