fodev.net

FOnline Development => Questions and Answers => Topic started by: Powerack on June 14, 2019, 08:03:24 pm

Title: How to do it (brahmin pens and experience)?
Post by: Powerack on June 14, 2019, 08:03:24 pm
I have a problem on my server that no one wants to solve. Brahmin pens full of shits. I'd like to set the same amount of caps and experience for every tidy shit (same at level 1 and 99). Is this possible? And if yes, where and what I must change to do it?

Thanks in advance for any advice.
Title: Re: How to do it (brahmin pens and experience)?
Post by: remake on June 15, 2019, 10:31:33 am
Is this possible? And if yes, where and what I must change to do it?
Everything is possible. Find the script which is responsible for shit spawning, and put there a part which will be conditional for the spawns in specific areas.

My tip: You can use polygons for it.
Example algorithm:
if(not max dung count is in specific area)
    spawn dung;
else
    don't spawn dung;
Title: Re: How to do it (brahmin pens and experience)?
Post by: Lexx on June 15, 2019, 05:18:49 pm
If I remember right, we had brahmin shit cleaning NPCs. Maybe you should assign some of them.
Title: Re: How to do it (brahmin pens and experience)?
Post by: remake on June 15, 2019, 07:53:46 pm
Powerack is running Reloaded S2 SDK for sure, and there's no cleaning NPCs.
Title: Re: How to do it (brahmin pens and experience)?
Post by: Powerack on June 15, 2019, 11:10:55 pm
And the second part of my question was how to set the experience and payout to the same level for both level 1 and level 99 characters.
Title: Re: How to do it (brahmin pens and experience)?
Post by: Lexx on June 16, 2019, 07:10:55 am
Powerack is running Reloaded S2 SDK for sure, and there's no cleaning NPCs.

I thought reloaded is based on 2238 - unless they removed stuff, it should be there. If I remember right, we used them to clean up exit grids.

Wipe should know.
Title: Re: How to do it (brahmin pens and experience)?
Post by: Wipe on June 18, 2019, 08:34:59 pm
There wasn't poo-cleaning NPCs in 2238, simply because poo was THE source of caps for new players.
Title: Re: How to do it (brahmin pens and experience)?
Post by: Lexx on June 19, 2019, 02:30:41 pm
Seriously, I could swear near the end we had spawnable NPCs cleaning the exit grids.
Title: Re: How to do it (brahmin pens and experience)?
Post by: remake on July 03, 2019, 05:27:23 pm
Seriously, I could swear near the end we had spawnable NPCs cleaning the exit grids.
mr_handy.fos :)