Jump to content

shatowolf

Members
  • Posts

    248
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by shatowolf

  1. pnta ka sa grf mo. edit the msgstringtable.txt nasa line : 627 and 210 - just look for it lang. ?
  2. I think gepard will do the trick. gepard have unique id check.
  3. This is nice,. keep it up mate. will test it soon.
  4. why not use sanasol fluxcp? here's the link https://github.com/sanasol/FluxCP_Addons-VoteForPoints
  5. read the doc here : https://github.com/rathena/rathena/wiki/Timers_(Scripting)
  6. at line 22. u should <tab> 22 : '-'<tab>script<tab>dl_map<tab>-1,{
  7. you mean aalisin na ung default ? item 969 and item 512. setarray .@Default[0],rand(969,512),rand(1,5);
  8. sa itemdb mo lagay mo to : { callfunc "CustomBox"; },{},{}
  9. you can check it at line 3031 at status.ccp.
  10. in this line //{ callfunc "CustomBox"; },{},{} function script CustomBox { copy paste mo lang then. edit the line //{ callfunc "CustomBox2"; },{},{} function script CustomBox2 { para sa box2.
  11. comment mo dto ung login_athena.conf mo, cover mo ung mga sensitive.
  12. // ======================================================================================================== //{ callfunc "CustomBox"; },{},{} function script CustomBox { set .@Total,9; //<%>,<ItemID>,<Amount> setarray .@P1[0],1,512,1; //Gallon Hat of Flame setarray .@P2[0],2,512,1; //Crow_Tengu_Mask setarray .@P3[0],3,512,1; //Canopy setarray .@P4[0],5,7179,10; //PODS setarray .@P5[0],30,969,150; //(Gold) setarray .@P6[0],80,12016,10; //Speed_Up_Potion setarray .@P7[0],90,12214,5; //12214 setarray .@P8[0],95,12412,5; //HE_Bubble_Gum setarray .@P9[0],70,12103,5; //Bubble Gum setarray .@Default[0],rand(969,512),rand(1,5); set .@i, rand(1,.@Total); if (rand(1,100) > getd(".@P"+.@i+"[0]")) { for(set .@j,0; .@j<getarraysize(.@Default); set .@j,.@j+2) { getitem .@Default[.@j], .@Default[.@j+1]; if(!.@k[0]) setarray .@k[0], .@Default[.@j], .@Default[.@j+1]; } } else{ for(set .@j,1; .@j<getarraysize(getd(".@P"+.@i)); set .@j,.@j+2) { getitem getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); if (!.@k[0]) { set .@gz,.@i; setarray .@k[0], getd(".@P"+.@i+"["+.@j+"]"), getd(".@P"+.@i+"["+(.@j+1)+"]"); break; } } } if(1<=.@gz&&.@gz<=9) announce ""+strcharinfo(0)+" has opened Egg Scroll and reward ["+getitemname(.@k[0])+" x "+.@k[1]+"]!",0; specialeffect2 251; end; }
  13. i recommend OVH ^_^ ~Note : Stay away to RO Hosting. why ? Panic, already comment it.
  14. try this. credit to Tauro. - script dl_map -1,{ end; OnInit: // 1= if you have gepard 0=if you do not use gepard set .Gepard,1; end; OnPCLoadMapEvent: if (.Gepard == 1) { getmapxy(.@map$,.@mapx,.@mapy,0); query_sql("SELECT last_unique_id FROM `login` WHERE account_id = "+getcharid(3)+"", .@UniqueId$); query_sql("SELECT account_id FROM `login` WHERE last_unique_id = '"+.@UniqueId$+"'", .@CuentaId); set .@error,getcharid(3,strcharinfo(0)); for(set .@i ,0;.@i<getarraysize(.@CuentaId);set .@i,.@i+1) { if(attachrid(.@CuentaId[.@i])) { if (.@CuentaId == 2000000) { set .@j,0; } else { getmapxy(.@map2$,.@mapx2,.@mapy2,0); if (.@map2$ == .@map$){ set .@j,.@j+1; } } } } detachrid; attachrid .@error; if(.@j > 1) { //dispbottom "Sorry, dual client is not allowed on this map."; announce "Sorry, dual client is not allowed on this map.", bc_self; warp "SavePoint",0,0; } end; } else { getmapxy(.@map$,.@mapx,.@mapy,0); query_sql("SELECT last_ip FROM `login` WHERE account_id = "+getcharid(3)+"", .@UltimaIp$); query_sql("SELECT account_id FROM `login` WHERE last_ip = '"+.@UltimaIp$+"'", .@CuentaId); set .@error,getcharid(3,strcharinfo(0)); for(set .@i ,0;.@i<getarraysize(.@CuentaId);set .@i,.@i+1) { if(attachrid(.@CuentaId[.@i])) { //if .Gepard is 0 add id of accounts to which the system will not affect, brothers, couple, gms, etc ... .@CuentaId == accountId if (.@CuentaId == 2000001 || .@cuentaId == 2000156 || .@CuentaId == 2000249 || .@CuentaId == 2000002 || .@CuentaId == 2000031 || .@CuentaId == 2000050 || .@CuentaId == 2000021 || .@CuentaId == 2000073 || .@CuentaId == 2000029) { set .@j,0; } else { getmapxy(.@map2$,.@mapx2,.@mapy2,0); if (.@map2$ == .@map$){ set .@j,.@j+1; } } } } detachrid; attachrid .@error; if(.@j > 1) { //dispbottom "Sorry, dual client is not allowed on this map."; announce "Sorry, dual client is not allowed on this map.", bc_self; warp "SavePoint",0,0; } end; } } //Your map here //loadevents guild_vs3 mapflag loadevent
  15. check mo groups.conf ---> view_equipment: false
  16. you can disable the (login_athena.conf) // Ipban features ipban_enable: yes (set to no)
  17. pre suggest ko do it manually. manual mo i add. ^_^
  18. you can do, yum install firewalld to enable firewall : systemctl enable firewalld to start : systemctl start firewalld to check status systemctl status firewalld then ---> firewall-cmd --zone=public --add-port=6900/tcp --permanent the Red is the port. just change it to your port. check if the port is open : firewall-cmd --zone=public --list-all then reload the firewall : firewall-cmd --reload your good to go.
  19. mid rate master. tamad na mga player ngayon hehehe.
×
×
  • Create New...