Jump to content

Sanasol

Members
  • Posts

    185
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Sanasol

  1. лично у меня всегда лагала. чуть что сразу краш
  2. dolphincute, [spoiler]top secret information[/spoiler]
  3. if ((flag = pc_additem(pl_sd, &item_tmp, get_count))) to if ((flag = pc_additem(pl_sd, &item_tmp, get_count, LOG_TYPE_COMMAND))) try this
  4. obviously old src code. dunno how repair it) wait for developers
  5. /*========================================== * @itemmap * A way of giving items to all players on a whole map *------------------------------------------*/ ACMD_FUNC(itemmap) { struct map_session_data *pl_sd = NULL; struct s_mapiterator* iter; int j; int pl_GM_level, GM_level; int map_id = 0; char map_name[MAP_NAME_LENGTH]; char item_name[100]; int number = 0, item_id, flag; struct item item_tmp; struct item_data *item_data; int get_count, count=0; memset(item_name, '0', sizeof(item_name)); memset(map_name, '0', sizeof(map_name)); nullpo_retr(-1, sd); if (!message || !*message) return -1; if(sscanf(message, "%15s "%99[^"]" %d", map_name, item_name, &number) != 3 && sscanf(message, "%15s %99s %d", map_name, item_name, &number) != 3) { clif_displaymessage(fd, "Please, enter an item name/id (usage: @itemmap <mapname> <item name or ID> [quantity])."); return -1; } if (number <= 0) number = 1; if ((item_data = itemdb_searchname(item_name)) == NULL && (item_data = itemdb_exists(atoi(item_name))) == NULL) { clif_displaymessage(fd, msg_txt(19)); // Invalid item ID or name. return -1; } item_id = item_data->nameid; get_count = number; //Check if it's stackable. if (!itemdb_isstackable2(item_data)) get_count = 1; GM_level = pc_isGM(sd); if (strstr(map_name, ".gat") == NULL && strstr(map_name, ".afm") == NULL && strlen(map_name) < MAP_NAME_LENGTH-4) // 16 - 4 (.gat) strcat(map_name, ".gat"); if ((map_id = map_mapname2mapid(map_name)) < 0) map_id = sd->bl.m; iter = mapit_getallusers(); for( pl_sd = (TBL_PC*)mapit_first(iter); mapit_exists(iter); pl_sd = (TBL_PC*)mapit_next(iter) ) { if (pl_sd->fd != fd && pc_isGM(sd) >= pc_isGM(pl_sd)) { pl_GM_level = pc_isGM(pl_sd); if (!((battle_config.hide_GM_session || (pl_sd->sc.option & OPTION_INVISIBLE)) && (pl_GM_level > GM_level))) { // you can look only lower or same level if (pl_sd->bl.m == map_id) { // If the player is on the map for (j = 0; j < number; j += get_count) { memset(&item_tmp, 0, sizeof(item_tmp)); item_tmp.nameid = item_id; item_tmp.identify = 1; if ((flag = pc_additem(pl_sd, &item_tmp, get_count))) clif_additem(pl_sd, 0, 0, flag); } count ++; clif_displaymessage(pl_sd->fd, "Something is falling from the sky."); // Message for all players on the map (can't use "mercy.." because we can use a Support or a Attack skill with @skillmap) } } } } snprintf(atcmd_output, sizeof(atcmd_output) ,"You give the item to : %d players.", count); clif_displaymessage(fd, atcmd_output); return 0; }
  6. Sanasol

    This or That?

    In Russia, there are none Walmart because seen this in South Park Flash or HDD
  7. Sanasol

    This or That?

    Watermelon Chrome or Opera
  8. your vps/vds with server dont allow connects from other ips need change perms of db user from localhost to any(%) or add new user only for srv14.000webhost.com
  9. https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/conf/battle/status.conf pc_luk_status_def: 150 mob_luk_status_def: 150
  10. if host include php and mysql - yes
  11. Sanasol

    save point

    mes .n$; Your Savepoint has been saved."; close; to mes .n$; mes "Your Savepoint has been saved."; close;
  12. #go PlayerName 16 16 - jail If I am not mistaken check @#go perms
  13. Sanasol

    This or That?

    Hot I think it will faster death than cold Sanasol or Sanasol League of Legends or Dota2
  14. check other like warp or search for backdoors in custom scripts
  15. Check permissions command: 99,99 Second level for hash(#) commands
  16. http://rathena.org/board/tracker/
  17. http://rathena.org/board/topic/57091-ipdownloads-buggy-taken-offline/page__pid__70250#entry70250
  18. UCP Не знаю конечно как сейчас, но раньше там вся защита состояла в смене 1 логин пакета. Собственно это даже не защита. Даже если сейчас что-то изменилось, то способ получения абсолютно не адекватен. PxAnticheat Она не стоит даже на их собственном сервере(у них Гармония), ибо дырявая. Как они сказали сейчас заморозили продажу из-за кривости. Harmony Видел только на забугорних серверах. Трудно что-то сказать, но слухи про обход были. Самый лучший вариант из выше перечисленных. VanGuard взломали Можно на заказ, но не факт что какие-нибудь сталины её не обойдут.
  19. Hatake Kakashi, should have been 404 - Not found 408
  20. never used getinventorylist, so do not know thx
  21. Kenpachi, awesome song Three Days Grace - One-X
×
×
  • Create New...