Jump to content

BigBurrito

Members
  • Posts

    114
  • Joined

  • Last visited

1 Follower

Profile Information

  • Gender
    Male
  • Location
    United States
  • Server
    Irkalla RO
  • Interests
    C ++

Recent Profile Visitors

3073 profile views

BigBurrito's Achievements

Poring

Poring (1/15)

5

Reputation

3

Community Answers

  1. You want to disable all of them? or just some? If all of them you can try by script.. - script CheckWoEHat -1,{ end; OnPCLoadMapEvent: if(getmapflag(strcharinfo(3),mf_gvg_castle)) //// For Castle Maps { changelook LOOK_HEAD_TOP,0; changelook LOOK_HEAD_MID,0; changelook LOOK_HEAD_BOTTOM,0; end; } ///////////////// Change to normal when transfering to regular map. changelook LOOK_HEAD_TOP,getlook(LOOK_HEAD_TOP); changelook LOOK_HEAD_MID,getlook(LOOK_HEAD_MID); changelook LOOK_HEAD_BOTTOM,getlook(LOOK_HEAD_BOTTOM); end; } Now if you have for only certain IDs you'll need to add an array and do a loop to check if their sprite ID match with your array.. You can also add for this to only work when WoE is ON with if (!agitcheck()) {end;}
  2. I think you will need to check for the saving point map of the char, otherwise i think it will keep on a loop haha..
  3. OnPCLoadMapEvent: if (strcharinfo(3) != "guild_vs1" || strcharinfo(3) != "guild_vs2" || strcharinfo(3) != "other_maps") { atcommand "@load"; end; } end; But will work for all the time player loadmap. meaning teleport to a different map serverwide. Im sensing you need this for event? if that's the case this won't be usefull for you.. would need mor information.
  4. I thought about that too. Merge everything into one. Was not planning on increasing but rather on knowing if there was an exact number. Is making some of the event sleep2 for couple of seconds a good practice? or can get bugged or send the maximun queue warning aswell?
  5. Hello everyone, anyone knows what is the limit for Player's event queue? I'm using couple of different scripts with OnPCLogingevent and apparently there is a limit or I'm using it wrong? I'm gonna try putting some delays on couple of them with sleep2, but I'm worried for future scripts if I need to use again onpclogin i might need to add more seconds to the delay. Thanks in advance. Im getting this warning: npc_event: player's event queue is full, can't add event "eventname"
  6. I've seen this question asked before with no conclusive answer. Asura Strike skill: if there is a slight cast time, even for milliseconds the skill will show the after skill sprite(the black chinese characters) above the caster. However if the caster reach free-cast or insta cast, the black letter sprite does not appear above the caster. Is this client side? or maybe src? Thank you in advance
  7. Keep sleep instead of sleep2 and just set the .@breaker$ before the announce line. did you add this line? set .@breaker$, strcharinfo(0); set .@breaker$, strcharinfo(0); ///THIS IS THE NEW LINE ADDED // Respawn the Emperium, and display new owners. sleep 500; // Slow down script execution slightly. if( agitcheck() ) donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena"; sleep 7000; announce "The [" + getcastlename(strnpcinfo(2)) + "] castle has been conquered by [ "+.@breaker$+" ] of the [" + getguildName(.@GID) + "] guild.",bc_all; // THIS NEW ANNOUNCER end; This was mine, and worked..
  8. Edit: Not solved.. If anyone has any option please let me know.. I will try. Thanks.. Solved it. Thanks anyways.
  9. Hello everyone, I'm having an issue with getting the killer id in this situation. my monster.conf: // Defines on who the mob npc_event gets executed when a mob is killed. // Type 1: On the player that killed the mob (if killed by a non-player, resorts to type 0) // Type 0: On the player that did the most damage to the mob. // NOTE: This affects who gains the Castle when the Emperium is broken. mob_npc_event_type: 1 Now when someone kills a mob spawned by a script and has a label, the label will only trigger on the one that will do the last hit. I need it to be the most dagame. This would be an easy fix if i just change in my monster.conf, mob_npc_event_type: 0. However, If i do this, it will affect the War of Emperium. I do not want to do that. When I need the killer ID? I need it only for when people kill certain MVPs spawned by different script, it will do some specialeffect on the killer by damage. However the specialeffect triggers on the last hitter AND the one that receives the MVP rewards. I was thinking if somehow i can get the ID throughtout something else? Maybe like when OnNPCKillEvent: will check if the killer received some kind of MOB_MVPEXP, so this way the specialeffects only trigger on the killer by damage. I've read throught the script_commands document and dont see anyway to do it other than maybe modifying the src. Thanks in advance.
  10. Hello guys. I need help with this: So I ordered a VPS for myself, to start a project on my own, and let some of my friends easily have access. Everything was fine. Then for several days I was not active, and I think since nothing was active (like loging in, etc.) The server was pinging the SQL database to "keep it alive" But i think the default maximum times is like 10. Now, I'm trying to reboot the server, and apparently cannot connect to the SQL. When I try to connect to the SQL tables with Navicat I have this error that I will attach to the images. I tried already Rebooting the whole VPS. Didnt Work. tried restarting mysql services and get this message: "Redirecting to /bin/systemctl start mysqld.service Failed to start mysqld.service: Unit not found." I'm Using CentOS by the way. Thanks in advance
  11. nvm. I see why. You need to turn the "battleground" mapflag for the map. ?
  12. I'm trying to learn how to use some BG scripts commands, and came across with this situation. set .@partyid,getcharid(1); set $@emp_team[.@partyid],bg_create("prontera",154,150); bg_join $@emp_team[.@partyid]; set $@emperium[.@partyid],bg_monster($@emp_team[.@partyid],"prontera",150,150,"EMP",1288,"probador#1::OnDeath"); On this code, no error, The monsters is summoned, and I've joined the BG. (Know because used @kill to see if i respawn in the right coordinate/map) However, I'm still able to hit/kill the mob, even tho I'm on the same team. I even tried without the [.@partyid] and still was able to hit/kill the mob. Any reason why? I'm missing something?. Thanks in advance.
  13. NVM. Solved it. I had changed a value on the MAX_GUILDEXPULSION.
  14. [Error]: intif: guild info : data size error Gid: 3 recv size: 11804 Expected size: 77340 what causes this error? also, on my Guild Window, on the skill tab, there are no skill at all. is blank. Tho, I do have the guild_skill_tree.txt on the DB folder and the guild_skill table at SQL. Dont know what is causing this error.. I noticed when recompiling got this warning: And this is the part of the warning: int mapif_guild_info(int fd,struct guild *g) { unsigned char buf[8+sizeof(struct guild)]; WBUFW(buf,0)=0x3831; WBUFW(buf,2)=4+sizeof(struct guild); memcpy(buf+4,g,sizeof(struct guild)); if(fd<0) chmapif_sendall(buf,WBUFW(buf,2)); else chmapif_send(fd,buf,WBUFW(buf,2)); return 0; } *Did not modify any of this. Git Hash: '006efe11edf412eef6c07b2b20db84ed1da4f20e' Pre-Renewal mode. PACKETVER 20151104
×
×
  • Create New...