• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 1.X+ War system not end

Lukinhah

New Member
Joined
Sep 25, 2017
Messages
16
Reaction score
4
Location
Portugal
Hello, can anyone help with my problem? I think it's some stupidity on my part.

TFS 1.5 - Version: 8.0
Guild Wars Old - Version: 2.0.8

I only configured the guild-wars-old plugin, other plugins unfortunately didn't work at all.
1757977804034.webp

I set a time of 2 hours for the duration of the war. The problem is that when ends, the website shows it as if it's still active, and you can't invite the guild again.

It also has a visual error that indicates the wrong finishing time.

1757977837618.webp
In the image, it shows 7 days duration, but it was configured to last 2 hours, and on the server it works normally.
On the website it stays like this even after finishing and I can't add a new war system.


What do I need?

- The information on the website be fixed.

- When ends, be possible start a war again.



NOTE: I tried installing another plugin that is in myaac, but it didn't work.
 
Last edited:
Which AAC did you use? If you haven't tried with ZnoteAAC yet, you can take this from their main repository

And instruct IA (ChatGPT or deepseek) to elaborate you a quick lua script for triggering the tables. You can even use this as base.

Also if you're running 8.0 I suppose you need to activate the guild war system (which didn't exist on 8.0) at sources, etc.

It demands otclient usage, since cipsoft client 8.0 doesn't have emblems to trigger.
Hope this helps! Regards
 
Oh nice. I'm going to try everything u suggested. Thank u

The otland community is awesome
Post automatically merged:

I tried in every way to add the guild emblem, I couldn't compile, I made the corrections and then discovered that the emblem was the pt icon, lmao
 
Last edited:
Oh nice. I'm going to try everything u suggested. Thank u

The otland community is awesome
Post automatically merged:

I tried in every way to add the guild emblem, I couldn't compile, I made the corrections and then discovered that the emblem was the pt icon, lmao
Well at least you know the approach you should seek by now. I would like to help more but I don't work 8.0 protocol. Since code isn't 100% protocol realated, you mostly will have to see the client-side part (otclient) to trigger the system. I'll leave you some usefull links that could probably help you in the task.


Best of luck on it, if you need help don't hesitate to reply.
Regards!
 
Apparently deep seek is better than chatgpt in some questions, what I struggled with in chatgpt I easily solved with deepseek.
Fixed: War System ends
Solution: I ended up implementing the system of starting and ending with talkaction.


About the emblems, I still have to work on that. The way I did it doesn't work for me, it ended up causing errors in the party system.
It must be some stupidity on my part, if I'm not mistaken it's possible to place the emblem just through the client.
 
Apparently deep seek is better than chatgpt in some questions, what I struggled with in chatgpt I easily solved with deepseek.



About the emblems, I still have to work on that. The way I did it doesn't work for me, it ended up causing errors in the party system.
It must be some stupidity on my part, if I'm not mistaken it's possible to place the emblem just through the client.
It's all on the prompts, I personally use GTP-5 with subscription, it collapses a lot but if you paste the code piece by piece it will work. Probably chatGPT kept you in the talkaction workflow because you haven't clarified where the issues are, for this, ask him for prints or debugging tools that could help you go further. I really would like to help more, but as you know I don't work 8.0 protocol.

Regards!
 
FIXED EMBLEMS

protocolgame.cpp


search:
msg.addByte(player->getPartyShield(otherPlayer));

add to the line below:
LUA:
if (!known) {
    msg.addByte(player->getGuildEmblem(otherPlayer));
}



features.lua

search:

if(version >= 790) then
g_game.enableFeature(GameWritableDate)
end

add to the line below:

Code:
    if(version >= 800) then
        g_game.enableFeature(GameCreatureEmblems)
    end


NOTE: OTCv8 and TFS 1.5 Downgrade 8.0 by Nekiro
 
Does anyone have a solution to make the emblem change at the start and end of the war without having to relog?


I think my case does not apply.
1758919031116.webp
There are only 2 emblems, from guild ally and guild enemy;

I think it's interesting to have to relog, because if it ends in the middle of the war there's a over time.
 
Back
Top