Jump to content

Brian

Members
  • Posts

    2223
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by Brian

  1. I noticed this too on Google Chrome, but was not sure if it was a Chrome issue or because IPB 3 forum skin has so much more "stuff".
  2. The code snippet that QQfoolsorellina and exneval posted is what you put in your warper. If you are not sure where in the script to add it, post your warper script here and we'll help.
  3. Add a line to the header of /src/map/atcommand.c #include "vending.h" Edit: you're welcome!
  4. Is this what you're looking for? Custom CashShops, 3 Currency types for your Pointing Systems!
  5. No, this change was only in the source code. The script function is still named rand.
  6. It's because you are comparing string variables. Since you're storing numbers, you should store them in int variables (just remove the $ from the end of the variable name).
  7. rAthena already supports multiple @alootid, since r15489. Usage: Add an item: @alootid +<item name or ID> Remove an item: @alootid -<item name or ID> Clear your list: @alootid reset The default max is 10 items; you can increase in /src/map/config/core.h /** * Max number of items on @autolootid list **/ #define AUTOLOOTITEM_SIZE 10 Edit: ah I see, you want to change the syntax of the @alootid command. *moved to Source Requests*
  8. The debug messages say the name of the NPC: [Debug]: Source (NPC): alter#beware Use Notepad++ to search in the whole /npc folder for the NPC name.
  9. Script arrays can hold up to 128 elements, and those are numbered with index from 0 - 127. [Warning]: script:getelementofarray: index out of range (128) ^ there is no array[128]. array[127] is the last element. If you post the script here, we can help you fix it.
  10. It means somewhere between your webhost (Control Panel) and your server, something is blocking those ports. Check all of these things: Are inbound connections on ports 6900,6121,5121 allowed on your RO host? (probably yes, or else you wouldn't be able to connect with your RO client) Does your webhost allow outbound connections on ports 6900,6121,5121 ? (If they are blocked, maybe you can explain what your CP uses them for, and ask them to open those ports.)
  11. /src/map/atcommand.c (after line 3798) Add this: if (pl_sd->state.autotrade || pc_isdead(pl_sd)) continue; // skip players who are @autotrade or dead so the whole block looks like: iter = mapit_getallusers(); for( pl_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); pl_sd = (TBL_PC*)mapit_next(iter) ) { if (sd->status.account_id != pl_sd->status.account_id && pl_sd->status.party_id == p->party.party_id) { if (pl_sd->state.autotrade || pc_isdead(pl_sd)) continue; // skip players who are @autotrade or dead if (pc_get_group_level(pl_sd) > pc_get_group_level(sd)) continue; //Skip GMs greater than you. if (pl_sd->bl.m >= 0 && map[pl_sd->bl.m].flag.nowarp && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE)) count++; else pc_setpos(pl_sd, sd->mapindex, sd->bl.x, sd->bl.y, CLR_RESPAWN); } } mapit_free(iter);
  12. Edit /trunk/conf/log_athena.conf Comment out this first block, and un-comment the second so it looks like this: // log_gm_db: log/atcommandlog.log // log_branch_db: log/branchlog.log // log_chat_db: log/chatlog.log // log_mvpdrop_db: log/mvplog.log // log_npc_db: log/npclog.log // log_pick_db: log/picklog.log // log_zeny_db: log/zenylog.log log_gm_db: atcommandlog log_branch_db: branchlog log_chat_db: chatlog log_mvpdrop_db: mvplog log_npc_db: npclog log_pick_db: picklog log_zeny_db: zenylog
  13. Then it should also skip @afk players.
  14. GD_EMERGENCYCALL should already skip @autotrade players. If you look at /trunk/src/map/skill.c (line 7020) case GD_EMERGENCYCALL: { int dx[9]={-1, 1, 0, 0,-1, 1,-1, 1, 0}; int dy[9]={ 0, 0, 1,-1, 1,-1,-1, 1, 0}; int j = 0; struct guild *g = NULL; // i don't know if it actually summons in a circle, but oh well. ;P g = sd?sd->state.gmaster_flag:guild_search(status_get_guild_id(src)); if (!g) break; clif_skill_nodamage(src,bl,skillid,skilllv,1); for(i = 0; i <g->max_member; i++, j++) { if (j>8) j=0; if ((dstsd = g->member[i].sd) != NULL && sd != dstsd && !dstsd->state.autotrade && !pc_isdead(dstsd)) { if (map[dstsd->bl.m].flag.nowarp && !map_flag_gvg2(dstsd->bl.m)) continue; if(map_getcell(src->m,src->x+dx[j],src->y+dy[j],CELL_CHKNOREACH)) dx[j] = dy[j] = 0; pc_setpos(dstsd, map_id2index(src->m), src->x+dx[j], src->y+dy[j], CLR_RESPAWN); } } if (sd) guild_block_skill(sd,skill_get_time2(skillid,skilllv)); } break; Does your @afk set some flag? (like @autotrade sets state.autotrade)
  15. There was a comma missing at the end of this line: `elemental_id` int(11) unsigned NOT NULL default '0' add a comma so it looks like this, then re-run the query. `elemental_id` int(11) unsigned NOT NULL default '0', Thanks for letting us know! I fixed it in r15896.
  16. Brian

    Server Restart

    This wiki page explains how: Adding_a_Script. Scripts loaded with @loadnpc are only temporary, for that time the map-server is running.
  17. Any revision before r15503. r15503: TXT save engine removed Using_rAsql
  18. I fixed the permissions again in Core, Database, (Docs was fine), Scripts, and Source sections. We are still trying to figure out what's deleting permissions in the first place.
  19. Here, I made a diff for the latest rAthena (r15869 as of today). separate_MVP_droprate_configs.diff
  20. I am always glad to help!

  21. Separate drop configs for MVP monsters (topic:61883), instead of "boss and MVP" monsters having the same configs.
  22. Add separate configs for MVP drops. This diff is 3 years old, but it should give you an idea on what to edit. http://trac.assembla.com/raijero/changeset/893/
  23. Edit /fluxcp-1.0/config/error.php and set this to 'true': $showExceptions = true; // Whether or not to show exceptions (only applies to error.php) Then refresh the page to see the full error. Don't forget to set $showExceptions back to false when you're done.
×
×
  • Create New...