summaryrefslogtreecommitdiff
path: root/world/map/npc
AgeCommit message (Collapse)AuthorFilesLines
2024-08-28sc_phys_shield_itemHoraK-FDF1-0/+5
2024-08-07A bit more fun with rain. Idea courtesy of Wellvin.Hello=)1-1/+10
How this works: * If rain hits EntAbomination -> LogHead spawned. * If rain hits LogHead -> sometimes [Mauve,Alizarin,Gamboge,Cobalt]Plant could be spawned. * If $NO_RAIN_SPAWNS global variable set -> all spawns are completely disabled (this allows to revert to old logic without server restart if abused or bugs pop up) * If map gets too crowded by spawns spell would cease further spawns (limit set around 30, both spawned logheads and herbs count for this purpose) * Tested on my local, and all obvious bugs were hopefully sorted out. Reported-by: Wellvin
2024-07-20Revert "V4 - rename weight override char var to HoraK's suggestion"Hello=)1-1/+1
This reverts commit bab8a25d6d3a2a5f5173654c95d057c65a3fa4f6. Reason: its confusing if PC variable name looks same like server's param name.
2024-07-19V4 - rename weight override char var to HoraK's suggestionHello=)1-1/+1
2024-07-18v3 of idea: rewired to use some server-side assistance by HoraKHello=)1-1/+1
2024-07-16V2 of ManaMarket weight solution idea.Hello=)1-1/+1
Differences vs previous version: * Allows to set "arbitrary" weight limits (within i32). * Does NOT makes hardcoded assumptions on nick or weight. * Reusable for >1 trade bot if desired. * Acts a bit like ACL, most of it done by server itself. * Still oneliner :) Usage: @setvar WEIGHT_LIMIT 0 10000000 ManaMarket Since its per-character variable, user must be online.
2024-07-14This commit lands workaround on MM weight problem.Hello=)1-0/+1
Naive approach using stats failed. But even more direct way works. This sets MaxWeight on MM login to 10 000 000 aka 10 000 kg aka 10 tons. I think 10 tons "should be enough for everyone". I've actually tested it works by heavily loading ManaMarket replica on local server with itens.
2024-07-09attachrid only supports acc id (getcharid(3))HoraK-FDF1-1/+1
2024-07-09upmarmu v6 fullHoraK-FDF1-1/+1
2024-07-09attachrid only supports acc id (getcharid(3))HoraK-FDF2-3/+3
2024-07-09upmarmu v6 fullHoraK-FDF2-21/+23
2024-07-03typo fix commentHoraK-FDF1-1/+1
2024-07-03typo fixHoraK-FDF1-1/+1
2024-07-01stones and crystals stone slime to miner maniaHoraK-FDF1-1/+1
2024-07-01stones and crystalsHoraK-FDF3-1/+60
2024-06-28Re-enable summon spells in cities since AFK PK exploit should be fixed nowHello=)9-9/+0
2024-06-19Fix for repeated suicides of caster when they try to attack target after theyHello=)2-2/+3
killed in rain by own lightning. Problem technically can be described like this: 1) Caster retains all spell charges upon death for lightnings. 2) It wouldn't be problem itself, but it would invoke OnAttack handler! 3) If caster dies in rain by own lightning, nothing clears "in rain" flag. 4) When they respawn and try to attack, OnAttack kicks in. 5) Since nothing has cleaned "in rain" flag, its still set. 6) At this point caster dies by own lightning again. 7) Worse, on respawn sequence would repeat itself. This happens regardless of rain and is very unexpected edge case. Workaround: caster can use #dicharge spell after respawn but its unobvious.
2024-06-17Gwyneth Honey back to GlutenFreeHoneyHoraK-FDF1-1/+1
2024-06-06use same sound timerHoraK-FDF3-6/+6
2024-06-06KeepAfterUse + DontUseAmmoHoraK-FDF8-16/+26
2024-06-02Add EmptyBottle return to player to some quests that consume water bottles.Fedja Beader3-5/+13
2024-06-02Hasan: Fix longstanding typoFreeyorp1-1/+1
2024-05-25Changed effect ID to match effects.xmlLedmitz1-1/+1
2024-05-23Better alignment and order correctionLedmitz1-2/+2
2024-05-22Edited heavy items textLedmitz1-1/+2
2024-05-22Miriam was being far too easy on playersLedmitz1-5/+41
2024-05-22miner mania add spacesHoraK-FDF1-35/+35
2024-05-21miner mania adding labels to stop warningsHoraK-FDF1-6/+84
2024-05-16Fix: itenplz no longer aggros summoned mobs.asuratva1-0/+1
2024-05-16slowed respawn a bit and decreased num mobs on some mapsHoraK-FDF1-5/+5
2024-05-16_mobs.txt coordinates are not compatible with areaspawnHoraK-FDF1-8/+11
2024-05-16miner mania better add freeloop to init too if it grows biggerHoraK-FDF1-0/+5
2024-05-16miner maniaHoraK-FDF2-0/+210
2024-05-16tortuga spawn spot fixHoraK-FDF1-1/+2
2024-05-16removed bifs, shadowplants*4, beehives*4HoraK-FDF20-65/+55
2024-05-16readd tomatoHoraK-FDF1-1/+1
2024-05-16update dialogHoraK-FDF1-1/+1
2024-05-16updateHoraK-FDF3-87/+155
2024-05-16item adds/changesHoraK-FDF36-338/+282
2024-04-22upmarmu v5 liteHoraK-FDF2-4/+12
2024-04-19Fix reporting of daily part of daily points when @dailypoints is calledFedja Beader1-0/+2
2024-04-19mp changeHoraK-FDF1-9/+9
2024-04-19mb and commentHoraK-FDF2-26/+31
2024-04-18Merge branch 'master' into mob_dropsLedmitz1-43/+28
Conflict resolution
2024-04-17Fix daily quest point gain for characters with bonus pointsFedja Beader1-22/+22
When a character checks in with a daily point NPC, the bonus daily points (from boss fights) gets moved into the regular bonus variable. By my understanding, when this regular bonus variable exceeds the character's level, the character stops gaining regular daily points. As you can see, when DailyQuestPoints exceeeds character lvl (97), the player no longer gets any (DailyQuestTime marks the last time the base points were added): Initial state: [16:53:57] variable DailyQuestBonus[0] == `0` for player AnotherOne. [16:54:03] variable DailyQuestPoints[0] == `2` for player AnotherOne. Character receives bonus: [16:55:15] variable DailyQuestBonus[0] = `150` for player AnotherOne. Character talks to DPQuest NPC without items, bonus is moved: [16:55:38] variable DailyQuestBonus[0] == `0` for player AnotherOne. [16:55:47] variable DailyQuestPoints[0] == `152` for player AnotherOne. Reset login time in order to get new daily points: [16:56:06] variable DailyQuestTime[0] = `0` for player AnotherOne. talk to NPC again: [16:56:16] variable DailyQuestBonus[0] == `0` for player AnotherOne. [16:56:21] variable DailyQuestPoints[0] == `152` for player AnotherOne.
2024-04-16Deduplicate both branches of daily point trade-inFedja Beader1-26/+11
2024-04-14silverbell effectHoraK-FDF1-1/+1
2024-04-14Yellow Apple to Fruit StoreHoraK-FDF1-1/+1
2024-04-14silver bell soundHoraK-FDF3-1/+14
2024-04-14added some trailing new linesHoraK-FDF4-4/+4