Jump to content

Magnetix

Members
  • Posts

    446
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Magnetix

  1. If you're using Notepad++, try using regular expressions (regex) OR you can import item_db_equip then run an SQL command, something like UPDATE `item_db` SET `slots` = 4 WHERE `type` = 'Weapon'; ^this is for weapons, just change `type` for armors. Take note that using the above will make ALL weapons/armors 4 slotted. After making changes, you can export as csv and use the included tool csv2yaml. <---- not sure if it'll work since I haven't tried it myself I'm sure there are better ways of doing it.
  2. since you already have an IP check and you were already pulling their IP, you might as well pull their unique_id find the lines: query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`=" + $@partymemberaid[.@i] + "", .@ipd$); // If same IP is on party if(compare(.@party_list$, "|" + .@ipd$ + "|" ) == 1) { set .@dupli, 1; and adjust to something like query_sql ("SELECT `last_ip`,`last_unique_id` FROM `login` WHERE `account_id`=" + $@partymemberaid[.@i] + "", .@ipd$, .@unique_id$); // If same IP is on party if ( compare(.@party_list$, "|" + .@ipd$ + "|") || compare(.@party_list$, "|" + .@unique_id$ + "|") ) { set .@dupli, 1; Haven't tested the code
  3. if (2 < .@itmCnt) { mes "You can have a maximum of two out of the following list:"; for (.@i = 0; .@i < getarraysize(.@rental); .@i++) { mes "" + getitemname(.@rental[.@i]) + ""; } close; } It'll work. Have you tried checking the part where your script called Aqua_Set?
  4. rAthena and the database server will run on the same machine. That's why in the guide, it was set to allow connection from localhost. If you want to remotely connect, you have to allow connection for the 'your-user'@'your-ip'. This part Also, if you have installed a firewall or enabled iptables, you have to open and allow connection to your mysql/mariadb port.
  5. Add another Label in your barricade setter. Edit OnEmpDead and add 3~5 secs delay then use donpcevent to trigger the new Label
  6. Hi, I've recently setup a multi-map server, 1 login-server, 1 char-server and 2 and possibly more map-servers. Fortunately the setup was successful. So far these 2 are probably the most common issues i've encountered. when using commands or skills that requires info(s) on certain map, no information is being retrieved from the other map-server some statuses that were applied on one of the servers, the status disappears when loading to a different world (Yup, we know that map-server has its own "world" with diffent settings and etc) With these two, skills such as Emergency Call and commands like recall/recallall and @who/@who2/@who3 failed to pull information that were on a different map server. You may be wondering why I did this. Simple, I wanted to separate the load that is usually shouldered by the map server. In my mind i'm thinking what if I let the other map server handle few maps like leveling spots and give the towns to the other map server and then maybe let this other map server handle the gvg maps. This may also be handy when hosting events where you may need to alter map server settings... Edit: Wth, i'm pretty sure I clicked Source Discussion. I am requesting this thread to be moved.
  7. Try this comodo,191,157,4 script Set of the day 83,{ if (rewarded > gettimetick(2)) close; mes"[Set of the day]"; mes "Welcome to FiestaRO!"; mes "Ready to receive your set of the day?"; next; mes "[Set of the day]"; mes "Today's set is called ^FF0000 The Great Madara ^000000."; mes "Set of the day only last for ^00FF00 3 hours ^000000 so make it count!"; sleep 1000; rentitem 31874,10800; sleep 5000; rentitem 31895,10800; sleep 1000; set rewarded, gettimetick(2) + 86400; close; }
  8. If you used what EL Dragon provided, you can use that line.. but if you prefer using glemor123's script then find this line OnClock1200: OnClock1100: OnClock1300: OnClock2300: OnStart: and replace with OnMinute00:
  9. Add this - script pcatch -1,{ OnMinute00: donpcevent "Announcer2::OnGMStart"; end;
  10. kc po dahil sa OnNPCKillEvent: dagdag ka nlng ng map check OnNPCKillEvent: if (strcharinfo(3) != map_name) end;
  11. Mali ang position ng closing curly braces. Try this: OnNPCKillEvent: if(killedrid == 3221) { set AddaxKills,AddaxKills + 1; if(AddaxKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3249) { set TGCKills,TGCKills + 1; if(TGCKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3218) { set BHZKills,BHZKills + 1; if(BHZKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } else if (killedrid == 3250) { set FabKills,FabKills + 1; if(FabKills == 2) announce ""+strcharinfo(0)+" has captured one tailed beast.",bc_all,0x00FF4C; } end;
  12. If you're still having this issue, I suggest you drop your database. recreate everything and then both main.sql and logs.sql should be imported on the same database or schema if you will.
  13. use // (double forward slashes before #define RENEWAL_DROP So it becomes //#define RENEWAL_DROP Lastly, recompile.
  14. I want to see your .../conf/inter_athena.conf or your .../conf/import/inter_conf.txt if you imported the settings. Make sure main.sql and logs.sql were executed in the same database. This is the default settings.
  15. Here's a hint. This part actually controls the types of tickets that will be used for refining switch(getequipweaponlv(.@part)) { default: case 0: setarray .@tickets[0],6457,6235,6234,6233,6232,6239; setarray .@levels[0],5,6,7,8,9,11; set .@type$,"Armor"; set .@check,.@bArmorUp; break; case 1: case 2: case 3: case 4: setarray .@tickets[0],6456,6231,6230,6229,6228,6238; setarray .@levels[0],5,6,7,8,9,11; set .@type$,"Weapon"; set .@check,.@bWeaponUp; break; }
  16. Try to load your map server separately and observe. Run mapserv-sql.bat. If you can take a screeny, much better. That way we can trace where and when it crashes.
  17. Post these char_athena map_athena clientinfo make sure to use code tags.
  18. Baguhin mo aftercast delay ng EDP. //===== Assassin Cross ===================== //-- ASC_EDP 378,0,2000,0,40000:45000:50000:55000:60000,20000:30000:40000:50000:60000,0 gawin mong //===== Assassin Cross ===================== //-- ASC_EDP 378,0,0,0,40000:45000:50000:55000:60000,20000:30000:40000:50000:60000,0 Topic moved.
  19. Originally from Pano ba yung mga .diff basahin or gawin?. Warned. Do not hijack other person's thread/topic.
×
×
  • Create New...