Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×

shatowolf

Members
  • Posts

    262
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by shatowolf

  1. in this line //{ callfunc "CustomBox"; },{},{} function script CustomBox { copy paste mo lang then. edit the line //{ callfunc "CustomBox2"; },{},{} function script CustomBox2 { para sa box2.
  2. comment mo dto ung login_athena.conf mo, cover mo ung mga sensitive.
  3. // ======================================================================================================== //{ 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; }
  4. i recommend OVH ^_^ ~Note : Stay away to RO Hosting. why ? Panic, already comment it.
  5. 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
  6. check mo groups.conf ---> view_equipment: false
  7. you can disable the (login_athena.conf) // Ipban features ipban_enable: yes (set to no)
  8. pre suggest ko do it manually. manual mo i add. ^_^
  9. 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.
  10. mid rate master. tamad na mga player ngayon hehehe.
  11. just search and go around the forum mate, your 80% questions already answered to the forum.
  12. you should get the other module. it works.
  13. Gepard is the best option this day, just contact @Functor
  14. your thor patcher tools find the CheckSum.
  15. Go to var/lib/phpMyAdmin/upload/ upload your .sql files to that location and then go to phpmyadmin import.
×
×
  • Create New...