Leaderboard
Popular Content
Showing content with the highest reputation on 06/14/12 in all areas
-
Hrmm.. not sure if showing how the page would look is allowed, but here is what I quickly made.. ><; It includes Facebook Avatar, Facebook Timeline Cover, and the Facebook Feed Meta Image. Let me know if you prefer just the individual pictures.2 points
-
You don't want to wait because of @reloadscript only for reloading OnInit ?, you used @loadnpc and OnInit doesn't get triggered ?, You don't want to respawn your mvps with @reloadscript because you're player will kill them again ? and you players don't like delay cause of @reloadscript ? With this command it's possible to trigger OnInit for you without all of these problems. Just patch your source with my diff file. If you insert a script with @loadnpc just load the OnInit label with @oninit Syntax: @oninit <npcname> oninit.diff1 point
-
is it possible to have an RSS for bug tracker, new post something like that? cause I think those threads need to be informed the most... Thanks...1 point
-
1 point
-
src/map/atcommand.c like this: /*========================================== * @rura, @warp, @mapmove *------------------------------------------*/ ACMD_FUNC(mapmove) { char map_name[MAP_NAME_LENGTH_EXT]; unsigned short mapindex; short x = 0, y = 0; int m = -1; nullpo_retr(-1, sd); memset(map_name, '\0', sizeof(map_name)); if (!message || !*message || (sscanf(message, "%15s %hd %hd", map_name, &x, &y) < 3 && sscanf(message, "%15[^,],%hd,%hd", map_name, &x, &y) < 1)) { clif_displaymessage(fd, "Please, enter a map (usage: @warp/@rura/@mapmove <mapname> <x> <y>)."); return -1; } mapindex = mapindex_name2id(map_name); if (mapindex) m = map_mapindex2mapid(mapindex); if (status_isdead(&sd->bl)){ clif_displaymessage(sd->fd,"You can not use @warp while dead."); return 0; } if (!mapindex) { // m < 0 means on different server! [Kevin] clif_displaymessage(fd, msg_txt(1)); // Map not found. return -1; } if ((x || y) && map_getcell(m, x, y, CELL_CHKNOPASS)) { //This is to prevent the pc_setpos call from printing an error. clif_displaymessage(fd, msg_txt(2)); if (!map_search_freecell(NULL, m, &x, &y, 10, 10, 1)) x = y = 0; //Invalid cell, use random spot. } if (map[m].flag.nowarpto && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE)) { clif_displaymessage(fd, msg_txt(247)); return -1; } if (sd->bl.m >= 0 && map[sd->bl.m].flag.nowarp && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE)) { clif_displaymessage(fd, msg_txt(248)); return -1; } if (pc_setpos(sd, mapindex, x, y, CLR_TELEPORT) != 0) { clif_displaymessage(fd, msg_txt(1)); // Map not found. return -1; } clif_displaymessage(fd, msg_txt(0)); // Warped. return 0; }1 point
-
@Emistry & Brynner thanks! ill try it. @mysterious i only use 2011-11-22 but the 2012 doesnt have that button hehehe! but it seems the 2011-11-22a got a body relocation error/bug.1 point
-
hmm, not sure but try clientxml, where your client settings are. I remember I did change that before and points to my website.1 point
-
how ? i know compile... edit where only start compile?? compile your server with higher event queue at src/map/map.h #define MAX_EVENTQUEUE 21 point
-
how ? i know compile... edit where only start compile?? delete , stop or delay other event. don't ask how, we don't know what event your server will be starting to work in that time and what is used for1 point
-
1 point
-
packet support has been implemented into rA, but I'm helping Ind into implementing the cart fix, so hang tight1 point
-
No, the getequip* commands will only work for equipped items. However, getinventorylist already creates card arrays which you can use directly: @inventorylist_card1[] - These four arrays contain card data for the items. @inventorylist_card2[] These data slots are also used to store names @inventorylist_card3[] inscribed on the items, so you can explicitly check @inventorylist_card4[] if the character owns an item made by a specific craftsman.1 point
-
1 point
-
Do well in school and u won't be forced under parental control. Its as simple as that.1 point