Forager

Forager

Level-Up-Bonus
15 Comments
Moonlightfox 17 Jul, 2024 @ 8:25am 
<3
SpaghettiLord1010  [author] 13 Jul, 2024 @ 11:07pm 
Yeah I havn't been active at all in the forager modding scene, feel free to make changes and the likes, do hope it works out!
Moonlightfox 13 Jul, 2024 @ 8:09am 
The "welcome slime" feels unrelated, and seems to be the cause of people's problems, so I will just comment it out... if that works, since everyone in this community is gone I will just upload a new version without the slime. Just need to get the mod tool thing running
SpaghettiLord1010  [author] 16 Aug, 2020 @ 1:41am 
Well, I've heard some things about it, yeah, but I haven't worked on this mod in ages, you know, I'll have to look into it, but if there's many things that have changed on the new update I'll most likely let it stay like this :/
Thanks for the feedback though, I'll tell you if I update it!
꧁⎛⎝ Maplefrog7⎠⎞꧂ 15 Aug, 2020 @ 8:25pm 
agree
killutia 15 Aug, 2020 @ 3:36am 
hi, really love this mod. but there are many deadly bugs, my game couldn't continue. 1. seems not compatible with the official evolve mod. 2. when add new skill, monsters spawned are very buggy, can cause deadly lagging. can you remove the monsters or fix those? thanks!
꧁⎛⎝ Maplefrog7⎠⎞꧂ 31 Jan, 2020 @ 3:59pm 
can make a way to disable the slime with bones sticking out, or change it so they have to spawn on land and cant have like 50 on one island thx.
SpaghettiLord1010  [author] 27 Jan, 2020 @ 5:27am 
#define Main
Trace("Hello? Is this working?")
globalvar WelcomeSlime;
globalvar WelcomeSlimeSpr;
WelcomeSlimeSpr = sprite_add("SlimeSprite.png", 2,1,1,8,9);
WelcomeSlime = EnemyCreate(undefined,"WelcomeSlime",EnemyType.Raider,0.5,10,1,3,1,2);


#define OnLevelUp()
ExplosionCreate(x,y,75,0);
DropItem(x,y,Item.Wood, 10);
DropItem(x,y,Item.Coal, 10);
DropItem(x,y,Item.Coin, 100);

#define OnLoad()
var _inst = ModEnemySpawn(objPlayer.x, objPlayer.y-64, depth, WelcomeSlime);
WelcomeSlime.sprite_index = WelcomeSlimeSpr;
SpaghettiLord1010  [author] 27 Jan, 2020 @ 5:27am 
Ok, so I checked my code, and I have no reference to the objSlime nor do I check for any defeated thing or sth. The event I used is triggered whenever you re-enter a world to create that Welcome Slime which fights like a skeleton.
And regarding the _instGalaxySprite, my code has a lenght of 45 chars in line 17 which tells me that it could be that some other mod you have, defines an enemy called WelcomeSlime and these mods crash one another somehow. (or they changed how the modding works pretty hard)
I can't really say why that happens, but I could make another mod that doesn't spawn in the enemy which seems to be the problem here.
I can however confirm that this is most likely not an error that happens solely because of my mod.

Here is my code for you to see, but as said, I don't really know where the problem could be...
Isombra 27 Jan, 2020 @ 3:27am 
Hi, really great mod, i love this. But i have a problema, i dont know if is same for all players.

When i close the Skill menu or i enter/out of a dungeon, spawn a clone of my character with a bone how weapon. And you can read on the chat:
Exectuion error: C:\Steam\steamapps\workshop\content\751780\1971192058/Main.gml[L17,c27]
Couldn't find any instances of 21 (objSlime)

When you kill the clone (the clone fight how a skeleton... more or less) you can read on the chat:
Exectuion error: C:\Steam\steamapps\workshop\content\751780\1971192058/Main.gml[L17,c51]
Global variable `_instGalaxySpirit` is not set.

If you go out of a dungeon, the clone spawn over the build and you cant kill her, if you go out of the dungeon many times, the enemy stack over the dungeon...

If you try uninstall this mod when this clone is spawned in your world, the save crashed, you need kill all the clones for uninstall.

Again, this mod is greatfull, i really want play with this mod. Its possible to solved this?
SpaghettiLord1010  [author] 24 Jan, 2020 @ 10:19pm 
Mhhhhh... Ok, so I see that you have a problem with that, but I have litereally no clue why my mod would cause that, it's just using the tools we got offered which are like 20 lines of code and sadly can't tell you nor can I probably find what is causing that, I'm using the event for levelling up, I don't even know if there is a event when you learn a new skill.

All in all, thanks for the info but I don't know how to fix it, best I can do is to tell people to not do this very specific task, you know, modding is still in it's childhood, maybe they'll fix it up because I really have no clue how I'd solve that.
Sorry :winter2019sadyul:
bebop562 24 Jan, 2020 @ 10:53am 
Found a bug: Ok so this is a bit of a weird one and it's a bit random at time but. With the level-up-bonus mod after reaching 10mins of gameplay and being atleast lvl 9 then after the 10minute mark, then investing in a skill then exiting the skill menu the game will crash and corrupt the file. Tested this out multiple times but only got this reaction with this mod on. You may have to test this a few times may not work on the first go not sure what I am doing differently to not make it happen every time. And it may not be 10mins exact when when I timed myself it happened the most during that time.
SpaghettiLord1010  [author] 18 Jan, 2020 @ 3:41am 
When I tested it, it did not destroy any buildings, no, just rocks and trees, maybe stay away from the beets though when leveling up.
SpaghettiLord1010  [author] 17 Jan, 2020 @ 8:51pm 
Some wood, some coal, some berries and a hundred coins plus a powerful explosion.
goutros 17 Jan, 2020 @ 8:58am 
what are the items?