Jump to content
  • 0

Control of the Treasure Boxes respawn in agits


Question

Posted (edited)

Hello community,

 

Due to its tiny population, my server has a roaster for woe agits, a new castle every month for woe without loss of investment on the last agit since the guild who owned a castle for the last day will still own it (and consequently keep their access to the Guild Dungeon) untill the roaster comes to this agit again and some other guilld eventually took it over.

 

So, in this configuration i only have a problem :

 

Treasure boxes are still spawning in agits that are owned but not open anymore for woe.

 

I m looking for a way to control the Agit's treasure boxes respawn so I can stop the TB respawn an agit isn't the one used for woe anymore.

 

I wasn t sure where to post this request (if it was aScript or a Source modification) so forgive my noobness and just let me know if i should post this elsewhere, thanks.

Edited by Adam

15 answers to this question

Recommended Posts

Posted

Hm,

Until someone figures something out, I was thinking maybe I should just unload the NPC that gives acces to the TB room...

(Can anyone please tell me where to find the concerned NPC, thanks)

They are located in the individual guild scripts.

For example: trunk/npc/guild/aldeg_cas01.txt you would commend out this NPC

// Guild Treasure Spawns
//============================================================
aldeg_cas01,118,223,0	duplicate(Gld_Trea_Spawn)	Treasure#aldeg_cas01	-1
Posted

Hi Akbare, hi everyone,

 


thanks so muccch for answering my post mate :no1:

 

In advance please excuse the upcoming noob questions (i m learning the job from your answers)

  • Is there any way i can know which SVN i m using without rebooting my server ?
  • And i don t think any edits to the woe script have been done, i can copy/paste it here (or mail it to you if more convenient) if you want; just tell me the way to the right file please.

Thanks for the help ! :)

Posted
Treasure boxes are still spawning in agits that are owned but not open anymore for woe.

if you are using only 1 Castle...then just remove the other castle's ownership ....

 

Is there any way i can know which SVN i m using without rebooting my server ?
@version
Posted (edited)

Thanks Emistry for joining up the conversation


 

Treasure boxes are still spawning in agits that are owned but not open anymore for woe.

if you are using only 1 Castle...then just remove the other castle's ownership ....

 

Is there any way i can know which SVN i m using without rebooting my server ?
@version

 

About the castle, even though only 1 castle is open at a time for woe (eg: currently Melcedez is theagit for June), previous agits keep their ownership so Guilds don t waste their past investment in the castle and also still can enjoy the GD even though the castle is closed for WoE.

 

Version is r16721

 

Thank you ! =)

Edited by Adam
Posted (edited)

Hi Fresh prince,

 

I want TBs to stop spawning as soon as the "WoE Castle of the Month (WcotM)" has been changed (soTBs will then spawn in this new woe castle as soon as it gets owned).

I change the agit manually every first Sunday of the month.

 

Maybe I should modify the code at the same time (modify the code manually so boxes don't spawn anymore in a specific castle until i revert it back whenever the agit is WCotM again)

It does sound like the easiest thing to do, what do you guys think ?

 

In this case, please enlighten me and tell me where i should go (agit_main.txt?)  and what line/code/text should be modified/typed.

 

Thanks a bunch for helping me out people.



Still  need help with this please :)

Edited by Adam
Posted

I change the agit manually every first Sunday of the month.

 

Maybe I should modify the code at the same time (modify the code manually so boxes don't spawn anymore in a specific castle until i revert it back whenever the agit is WCotM again)

It does sound like the easiest thing to do, what do you guys think ?

 

If you edit trunk/npc/scripts_guild.conf and comment out the castles that are disabled this month, then no treasure will spawn (even if a guild owns the disabled castle).

  • Upvote 1
Posted (edited)

I change the agit manually every first Sunday of the month.

 

Maybe I should modify the code at the same time (modify the code manually so boxes don't spawn anymore in a specific castle until i revert it back whenever the agit is WCotM again)

It does sound like the easiest thing to do, what do you guys think ?

 

If you edit trunk/npc/scripts_guild.conf and comment out the castles that are disabled this month, then no treasure will spawn (even if a guild owns the disabled castle).

Hey Brian !

I m going to try this and then let you know how it works out.

Just a question : Do i need a full recompile/server reboot then or just a @reloadscripts will do ?

 

Thanks for the help, greatly appreciated.

Edited by Adam
Posted (edited)

Alright, I finally got time to try your suggestion Brian (was very busy recently)

 

Sadly, it doesn't fully work out

 

Commenting out in the .config disabled the agit; so yes no more Treasure Boxes spawn :no1: but :

 

  • Agit owners can t enjoy the Guild Dungeon (it got disabled too)
  • The Agit Flag disappeared from town city center so nothing left to shown that this specific agit is already owned by a specific guild

Thanks for trying anyway :)

 

So yeah i am still looking for a way to neutralize the TB respawn BUT without preventing people to use their Guild Dungeon, ideas suggestions still welcome =)



up

Edited by Adam
Posted

Hm,

Until someone figures something out, I was thinking maybe I should just unload the NPC that gives acces to the TB room...

(Can anyone please tell me where to find the concerned NPC, thanks)

 

Still willing to hear from anyone with a script/idea to control the TB respawn in a WoE non-active agit.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...