Jump to content

Delta

Members
  • Posts

    43
  • Joined

  • Last visited

1 Follower

Profile Information

  • Gender
    Male
  • Github: delta
  • Interests
    Photoshop, Gaming and Developing

Contact Methods

  • Skype
    tom.quarts

Recent Profile Visitors

2239 profile views

Delta's Achievements

Poring

Poring (1/15)

0

Reputation

  1. Because it is on the main script. Do you want the card effect is If the assassin use the whitesmith card, Level 10 mammonite Only but not the Level 10 + Maximum over thrust Level
  2. (2^10) 1024 = Costume Upper headgear (2^11) 2048 = Costume Middle headgear (2^12) 4096 = Costume Lower headgear (2^13) 8192 = Costume Garment/Robe
  3. make it bonus bBreakWeaponRate,1000; bonus bUnbreakableWeapon,0; bonus3 bAutoSpell,"MC_MAMMONITE",10,100; if(BaseClass==Job_Thief ) bonus3 bAutoSpell,"MC_MAMMONITE",10,100; } },{ callfunc "Restrict"; },{} to bonus bBreakWeaponRate,1000; bonus bUnbreakableWeapon,0; bonus3 bAutoSpell,"MC_MAMMONITE",10,100; if(Class=="CLASS ID OF ASSASSIN CROSS") {bonus3 bAutoSpell,"MC_MAMMONITE",10,100; } },{ callfunc "Restrict"; },{} you can check the class id on @job then find the sinx.
  4. #define MAX_LEVEL 255 change it to #define MAX_LEVEL 1000
  5. May binago kaba sa group.conf mo? Na encounter ko na kasi to lately.
  6. Delta

    @flooritem

    atcommand.c ACMD_FUNC(flooritem) { char item_name[100]; int number = 0, count; struct item_data *item_data; nullpo_retr(-1, sd); memset(item_name, '\0', sizeof(item_name)); if( !message || !*message || ( sscanf(message, "\"%99[^\"]\" %d", item_name, &number) < 1 && sscanf(message, "%99s %d", item_name, &number) < 1 )) { clif_displaymessage(fd, "Usage: @flooritem <itemname/itemid> [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(sd,19)); // Invalid item ID or name. return -1; } count = map_addflooritem_area(&sd->bl, 0, 0, 0, item_data->nameid, number); if( count != 0 ) if( number == count ) clif_displaymessage(fd, "All items created."); else { sprintf(atcmd_output, "%d item(s) created.", count); clif_displaymessage(fd, atcmd_output); } else { clif_displaymessage(fd, "No items created!!."); return -1; } return 0; } ------------------------------------ ACMD_DEF(flooritem), ------------------------------------- map.c Line 1501: int map_addflooritem_area(struct block_list* bl, int16 m, int16 x, int16 y, int nameid, int amount) { struct item item_tmp; int count, range, i; short mx, my; memset(&item_tmp, 0, sizeof(item_tmp)); item_tmp.nameid = nameid; item_tmp.identify = 1; if( bl != NULL ) m = bl->m; count = 0; range = (int)sqrt(amount) +2; for( i = 0; i < amount; i++ ) { if( bl != NULL ) map_search_freecell(bl, 0, &mx, &my, range, range, 0); else { mx = x; my = y; map_search_freecell(NULL, m, &mx, &my, range, range, 1); } count += (map_addflooritem(&item_tmp, 1, m, mx, my, 0, 0, 0, 0, 4) != 0) ? 1 : 0; } return count; } -------------------------------------------- map.h Line 854: int map_addflooritem_area(struct block_list* bl, int16 m, int16 x, int16 y, int nameid, int amount); --------------------------------------------- mob.c Line 2872: if( md->option.item_drop > 0 && itemdb_exists(md->option.item_drop) && md->option.item_amount > 0 ) { map_addflooritem_area(&md->bl, 0, 0, 0, md->option.item_drop, md->option.item_amount); clif_misceffect(&md->bl,10); md->option.item_drop = 0; md->option.item_amount = 0; } ---------------------------------------------- script.c Line 17850: BUILDIN_FUNC(flooritem) { struct map_session_data *sd = script_rid2sd(st); struct item_data *item_data; int nameid, amount; if( sd == NULL ) return 0; nameid = script_getnum(st,2); if( (item_data = itemdb_search(nameid)) == NULL ) return 0; amount = script_getnum(st,3); if( amount <= 0 ) return 0; map_addflooritem_area(&sd->bl, 0, 0, 0, nameid, amount); return 0; } BUILDIN_FUNC(flooritem2xy) { struct item_data *item_data; int nameid, amount, m, x, y; const char *mapname; mapname = script_getstr(st,2); if( (m = map_mapname2mapid(mapname)) < 0 ) return 0; x = script_getnum(st,3); y = script_getnum(st,4); nameid = script_getnum(st,5); if( (item_data = itemdb_search(nameid)) == NULL ) return 0; amount = script_getnum(st,6); if( amount < 1 ) return 0; map_addflooritem_area(NULL, m, x, y, nameid, amount); return 0; } I use this source code then I'll apply the code in correct line. but sad to say I encounter errors Thank you in advance!
  7. https://rathena.org/wiki/Custom_Items
  8. Delta

    @go pvp

    Working now! Thanks
  9. Delta

    @go pvp

    I am trying to add some custom commands that can be usable to my players. I'll try to add in go command the "PVP_Y_1-2" but suddenly im failed. can someone help me or explain me why this error comes This is my codes: src/map/atcommand.c { MAP_DICASTES, 198, 187 }, // 30=El Dicastes { MAP_MORA, 44, 151 }, // 31=Mora { MAP_DEWATA, 200, 180 }, // 32=Dewata { MAP_MALANGDO, 140, 114 }, // 33=Malangdo Island { MAP_MALAYA, 242, 211 }, // 34=Malaya Port { MAP_ECLAGE, 110, 39 }, // 35=Eclage { MAP_PVP_Y_1-2, 100, 100 }, // 35=Eclage }; } else if (strncmp(map_name, "dewata", 3) == 0) { town = 32; } else if (strncmp(map_name, "malangdo", 5) == 0) { town = 33; } else if (strncmp(map_name, "malaya", 5) == 0) { town = 34; } else if (strncmp(map_name, "eclage", 3) == 0) { town = 35; } else if (strncmp(map_name, "pvp", 3) == 0) { town = 36; } src/common/mapindex.h #define MAP_LOUYANG "louyang" #define MAP_JAWAII "jawaii" #define MAP_AYOTHAYA "ayothaya" #define MAP_EINBROCH "einbroch" #define MAP_LIGHTHALZEN "lighthalzen" #define MAP_EINBECH "einbech" #define MAP_HUGEL "hugel" #define MAP_RACHEL "rachel" #define MAP_VEINS "veins" #define MAP_JAIL "sec_pri" #define MAP_NOVICE "new_1-1" #define MAP_MOSCOVIA "moscovia" #define MAP_MIDCAMP "mid_camp" #define MAP_MANUK "manuk" #define MAP_SPLENDIDE "splendide" #define MAP_BRASILIS "brasilis" #define MAP_DICASTES "dicastes01" #define MAP_MORA "mora" #define MAP_DEWATA "dewata" #define MAP_MALANGDO "malangdo" #define MAP_MALAYA "malaya" #define MAP_ECLAGE "eclage" #define MAP_ECLAGE_IN "ecl_in01" #define MAP_PVP_Y_1-2 "pvp_y_1-2" Sorry for my bad english. Hope that someone can help me. Thanks in advance
  10. Is this a bug? My players experience this. Ok I give example: 1 Pally 1 Champ 1 Pally use his buffs , auto guard reflect shield, endure and devo the 1champ, after that the buffs of the 1pally not share or even see the icons of buffs in 1champ. Sorry for my bad english. I am using latest rathena. thanks in advance
  11. Delta

    Notice.html

    Here is my config.ini http://prntscr.com/5ysz37 and my patcher still getting this information http://prntscr.com/5yszgr
  12. I am trying to update / edit my notice.html on my patcher but the old notice is stay there and nothing happen. can someone help me? thanks
  13. Why not avail gfx designer on Paid services?
×
×
  • Create New...