Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/07/19 in all areas

  1. < Stolao's Pvp Ladder> Features: A Dynamic Pvp Ladder Todo: Suggestions? Optimize? Changelog: 3.00 Overhaul 3.01 Fixed missing "No" for "No Ygg" 3.02 Added Show Map Name Option 3.03 Added Max Players Option 3.04 Optimized and fixed SQL queries [Secret] 3.05 Replaced some queries with addrid(0) 3.06 Updated Rewards to RODEX compatable 3.07 Fixed all rom referancing room [0] player limit 3.08 Made Made .MaxPlayers = 0, mean unlimited 3.09 Removed use of getd 3.0A Cleaned up some code 3.0B Moved Menu Generation to fix Map Count not showing 3.0C Actually Added RoDex Support now 3.0D Fixed Map Menu Generation 3.0E Fixed sql query 3.0F Cleaned Code a bit 3.10 Did more Cleaned Code a bit 3.11 Fixed a logic bug in GM reset 3.12 Added Waiting Room 3.13 Added Dynamic Waiting Room 3.14 Moved and added more At_Commands 3.15 Dynamic Waiting Room (&4096) require Waiting Room (&2048) to work 3.16 Increased Waiting Room Rotation Time 3.17 Fixed Typos in Reset PVP Stats 3.18 Removed unnessisary next, creating hang screens 3.19 Made compatable with new mail command 3.1A Reformatted Rewards in conf to support 5 items Links: Latest Pvp Ladder
    1 point
  2. @CyberDevil Just replace this lines (roughly on the 234 - 236 line) //apply mapflags setmapflag .@map$,mf_nomobloot; setmapflag .@map$,mf_nomvploot; for this //apply mapflags //setmapflag .@map$,mf_nomobloot; //setmapflag .@map$,mf_nomvploot;
    1 point
  3. December Digest 2018 The following digest covers the month of December 2018. Staff Changes: None Development Highlights: CORE: Fixed possible string out of bounds in configurations (9dbd3cb) Corrected White Imprison and reflected damage (40a4edc4) Corrected vector issue (2f5e1203) Fixed Renewal bBaseAtk readparam returning wrong value (32c68c73) Fixed clearing of sp_vanish_race (4cff45b8) Fixed missing login date for guild members (18f9574a) Fixed Skill Damage Database parsing (2d4a5949) Fixed pre-renewal atk (e8a7daec) Fixed homunculus auto feed for broken luas (9183a54a) Fixed SU_GROOMING while being frozen (7fa903ce) Fixed CN Meteor and Lunatic Carrot Beat damage (faee0cde) Fixed zero termination for bg messages (742232d5) Corrected some Summoner skills (570c07d5) Removed deprecated SI constants from src (e3dd6238) Fixed wrong replacements of CD_CURRENT_ECONOMY (732059ac) Unified infinite tick usage (016d15b7) Corrected AutospellOnSkill (75aef6a5) Fixed autobonus removal (fb81e2d7) Switched supported client to Ragexe (ec3b7077) Fixed unknown map in character select (1c987de7) Added support for viewpointvalue command (49444912) Corrected some statuses and Mado Gear interaction (0d816975) Added support for 64bit ticks (01f61cfa, 46138645) Added a missing check to TK_HIGHJUMP (63bfd611) Fixed reloadmobdb status calculation (8e58f2ce) Initial Release of Equipment Switch (818ff109, f5f377a7) DATABASE: Updated Lasagna Boss spawn (9f24814a) Changed equippable jobs for some items in pre-re/item_db.txt (93cf1881) Changed Thanatos gears to Thanos in item_db.txt (f5b546d6) Corrected job mask of some items (818f35ab) SCRIPT: Ghost Palace instance NPC name fixes (b87a1758) Fixed Taekwon Jobchanger Location (200b55e0) OTHERS: Fixed a documentation typo for bDropAddClass (9f880768) Disabled iterator sanity checks on VS (7c271d7e) Added epoll support on linux (eb2e40c3) List of Contributors: @4144, @admkakaroto, @aleos89, @Atemo, @AzarthMZintos, @Balferian, @Encon21, @Everade, @exneval, @Haikenz, @laziem, @Lemongrass3310, @MathReaper, @mrjnumber1, @nubspixel, @Playtester, @RadianFord, @reunite-ro, @Rolfxx, @secretdataz, @teededung, @Tokeiburu, @vstumpf, @whupdo, @yoonjunho72, @zackdreaver January Digest 2019 The following digest covers the month of January 2019 Staff Changes: None Development Highlights: CORE: Fixed Full Blast delay on attack and using items (4ec0c010) Corrected item bonus FixedCastRate (59593652) Fixed Reflect Damage not reflecting damage (7282dd87) Adjusted reload item database (444d7394) Refactored achievement conditions (4706115d) Fixed points command using negative numbers (6c1d1a84) Fixed a few more leftovers from 64bit tick (a5fc39e0) Corrected skills that give bonuses while sitting (b1865b31) Fixed CDP not failing when haven't met the requirements (a9f868f8) Corrected a few potential crash points (6c864927) Fixed a crash from MVP Ladder Warper (db3267a8) Updated Quagmire status removal list (626c2b7f) Disconnect player on map-server switch failure (19eef173c) Corrected status attack's element (298cfefd2) DATABASE: Corrected Honor Token weight (246dd2aa) Corrected Faceworm Larva Card bonus (1d0a2238) Corrected Cat Ear Beret bonus (6c6baff1) Fixed Costume Pocketwatch Hair Ornament location (394b16b8) Corrected Palace Guard Cap bonus (24c121b7) Added missing Costume Flying Galapago (f49c68f7) Fixed duration for items 12274 and 12275 (39906dac2) Corrected Shadow Staff script error (8839fe95) Corrected Owl Viscount Silk Hat script error (ec305337) Fixed pre-re Barricade HP value (d5ca1c73) Corrected Card/Enchant Combos (6bea2da3) Item db update (9cd9cab2) Update re/item_trade.txt based on itemmoveinfov5 (54b2cf32) Corrected Sarah's Battle Robe bonus (9d272f8f) Corrected Sling Item bonuses (fe12d6f0) SCRIPT: Added Clothing Effect Removal Service (8ed8fd1a) Change Magic Gear Master NPC name to Mado Gear Armourer for Renter Merchants (02c69f64) Added new Rebellion Shops (f3bb7e4b) Fixed wrong exp values on 13.1 and 13.2 quests and other minor fixes (c96671fc) Removed noicewall mapflag from several instance maps (79dffbd7) Updated OnTouch Royal messenger NPC (53498865) Updated NPC locations according client's navi file (b1b9720f) Fixed variable typo in agit_main_se.txt (43b3bc08) Fixed Hunting Missions (ad960e47) OTHERS: Allow increasing connection limit on linux (8ae788b6) Add missing unit type documentation (de70e498) Added MS support for the function macro (e415e642) Changed skip into error (de8c707f) List of Contributors: @aleos89, @Angelic234, @Atemo, @attackjom, @Badarosk0, @Balferian, @bgamez23, @BrOgBr, @cydh, @Daegaladh, @danielbernard, @darhylism, @Everade, @Indigo000, @Kezzo, @laziem, @Lemongrass3110, @LunarSHINING, @mrjnumber1, @Normynator, @nubspixel, @RadianFord, @rAthenaCN, @sigtus, @teededung, @Tokeiburu, @zackdreaver
    1 point
  4. To make the mapflag usable with @mapflag, open atcommand.c, ACMD_FUNC(mapflag) and add it to the list of existing flags: checkflag(nousecart); checkflag(noitemconsumption); checkflag(nosumstarmiracle); checkflag(nomineeffect); checkflag(nolockon); checkflag(notomb); checkflag(nocostume); checkflag(gvg_te); checkflag(gvg_te_castle); checkflag(newmapflag); checkflag(newmapflag2); ... setflag(nousecart); setflag(noitemconsumption); setflag(nosumstarmiracle); setflag(nomineeffect); setflag(nolockon); setflag(notomb); setflag(nocostume); setflag(gvg_te); setflag(gvg_te_castle); setflag(newmapflag); setflag(newmapflag2); To make the mapflag readable from a script, you'll have to add the flag as a constant first: Go in script.c, search for "MF_NOTOMB" and add your flag at the end of the list, such as: MF_NOTOMB, MF_SKILL_DAMAGE, //60 MF_NOCOSTUME, MF_GVG_TE_CASTLE, MF_GVG_TE, MF_NEWMAPFLAG = 100, // Custom flags MF_NEWMAPFLAG2, // Custom flags }; and then add it as a script constant. Open script_constants.h and add export_constant(MF_NOTOMB); export_constant(MF_SKILL_DAMAGE); export_constant(MF_NOCOSTUME); export_constant(MF_GVG_TE_CASTLE); export_constant(MF_GVG_TE); export_constant(MF_NEWMAPFLAG); // Custom flags export_constant(MF_NEWMAPFLAG2); Now you'll have to add the mapflag to the map structure, so go in map.h: unsigned nocostume : 1; // Disable costume sprites [Cydh] unsigned newmapflag : 1; // Custom flag unsigned newmapflag2 : 1; // Custom flag2 unsigned gvg_te : 1; // GVG WOE:TE. This was added as purpose to change 'gvg' for GVG TE, so item_noequp, skill_nocast exlude GVG TE maps from 'gvg' (flag &4) unsigned gvg_te_castle : 1; // GVG WOE:TE Castle #ifdef ADJUST_SKILL_DAMAGE unsigned skill_damage : 1; #endif } flag; You have to make it so that the script engine can read your flag, so go in npc.c and ctrl-f "nowarp": else if (!strcmpi(w3,"noteleport")) map[m].flag.noteleport=state; else if (!strcmpi(w3,"nowarp")) map[m].flag.nowarp=state; else if (!strcmpi(w3,"newmapflag")) map[m].flag.newmapflag=state; else if (!strcmpi(w3,"newmapflag2")) map[m].flag.newmapflag2=state; else if (!strcmpi(w3,"nowarpto")) map[m].flag.nowarpto=state; You should now be done, but if you want to make your flag work with the getmapflag/setmapflag/removemapflag script commands, you'll have to edit script.c: //BUILDIN_FUNC(getmapflag) case MF_NEWMAPFLAG: script_pushint(st,map[m].flag.newmapflag); break; //BUILDIN_FUNC(setmapflag) case MF_NEWMAPFLAG: map[m].flag.newmapflag = 1; break; //BUILDIN_FUNC(removemapflag) case MF_NEWMAPFLAG: map[m].flag.newmapflag = 0; break; Now you can use your mapflag in the source with (map[m].flag.newmapflag) { ... } Good luck ;O!
    1 point
  5. your script is not a stable script http://rathena.org/board/topic/75089-emperium-top5-breaker/#entry160694 use this one woe_pvp_ladder_0.1.txt
    1 point
×
×
  • Create New...