• 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!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

Fixed Guild War System for Website [include all]-[will not count frags] (TFS 0.3+)

Status
Not open for further replies.
IMPOSIBLE xdd!!! I get no frag, you did something wrong then.

PM me your IP to see website etc.
 
IMPOSIBLE xdd!!! I get no frag, you did something wrong then.

PM me your IP to see website etc.
its possible :( i have 2 message ;/
first is white its from war system
and second is red its frag ;/
 
Cant be ... I tested it, with addEvent and it remove the frag after got it (0,15 seconds).
 
Bug!

15727377.jpg


1) When you click it, it send you to guild name, and not to ID, so it says:
Code:
The Following Errors Have Occurred:
# Guild with ID 0 doesn't exist.
2) It doesnt show the image :S

3)

[16/12/2009 04:27:35] > Broadcasted message: "Guild Pain Factory have invited guild Revolution to have a war.".
[16/12/2009 04:27:46] [Error - GlobalEvent Interface]
[16/12/2009 04:27:46] buffer:eek:nThink
[16/12/2009 04:27:46] Description:
[16/12/2009 04:27:46] data/lib/004-database.lua:60: [Result:getDataInt] Result not set!
[16/12/2009 04:27:46] stack traceback:
[16/12/2009 04:27:46] [C]: in function 'error'
[16/12/2009 04:27:46] data/lib/004-database.lua:60: in function 'getDataInt'
[16/12/2009 04:27:46] data/lib/050-function.lua:960: in function 'getGuildsWithWar'
[16/12/2009 04:27:46] [string "loadBuffer"]:3: in function <[string "loadBuffer"]:2>
[16/12/2009 04:27:46] [Error - GlobalEvents::think] Couldn't execute event: wars
[16/12/2009 04:28:05] > Broadcasted message: "Guild Revolution have accepted the invitation of the guild Pain Factory to have a war.".
 
Last edited:
[16/12/2009 08:32:09] [Error - GlobalEvent Interface]
[16/12/2009 08:32:09] buffer:eek:nThink
[16/12/2009 08:32:09] Description:
[16/12/2009 08:32:09] [string "loadBuffer"]:3: attempt to call global 'getGuildsWithWar' (a nil value)
[16/12/2009 08:32:09] stack traceback:
[16/12/2009 08:32:09] [string "loadBuffer"]:3: in function <[string "loadBuffer"]:2>
[16/12/2009 08:32:09] [Error - GlobalEvents::think] Couldn't execute event: wars

why ?
 
Xampy can u edit this script for tfs 0.3.4 pl2, becouse a lot of ppl use this tfs ;p
 
This is going to show the wars label ono the main page of the site!!!

Under That

PHP:
<a href='?subtopic=guilds'>
  <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>

    <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'>Guilds</div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>

Paste That

PHP:
<a href='index.php?subtopic=wars'>
  <div id='submenu_auctionsystem' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'>
    <div class='LeftChain' Style='background-image:url)<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
    <div id='ActiveSubmenuItemIcon_wars' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div>
    <div class='SubmenuitemLabel'><font color="red">Wars</font></div>
    <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div>
  </div>
</a>

HOPE I HELPED IF I DID SO REPUT PLEASE I AM NOT A VERY GOOD PROGRAMMER BUT ALWAYS LITTLE HELPS !!
 
Bug!

15727377.jpg


1) When you click it, it send you to guild name, and not to ID, so it says:
Code:
The Following Errors Have Occurred:
# Guild with ID 0 doesn't exist.
2) It doesnt show the image :S

3)

[16/12/2009 04:27:35] > Broadcasted message: "Guild Pain Factory have invited guild Revolution to have a war.".
[16/12/2009 04:27:46] [Error - GlobalEvent Interface]
[16/12/2009 04:27:46] buffer:eek:nThink
[16/12/2009 04:27:46] Description:
[16/12/2009 04:27:46] data/lib/004-database.lua:60: [Result:getDataInt] Result not set!
[16/12/2009 04:27:46] stack traceback:
[16/12/2009 04:27:46] [C]: in function 'error'
[16/12/2009 04:27:46] data/lib/004-database.lua:60: in function 'getDataInt'
[16/12/2009 04:27:46] data/lib/050-function.lua:960: in function 'getGuildsWithWar'
[16/12/2009 04:27:46] [string "loadBuffer"]:3: in function <[string "loadBuffer"]:2>
[16/12/2009 04:27:46] [Error - GlobalEvents::think] Couldn't execute event: wars
[16/12/2009 04:28:05] > Broadcasted message: "Guild Revolution have accepted the invitation of the guild Pain Factory to have a war.".
 
This script works in 0.3.6 version, but in 0.3.5 not, i dont will paste the error becouse i use console not gui(i cant copy), and u fix this if u won =~.
 
@kito2:

1) Repaired.
2) Repaired.
3) Not a bug xd.

@up:
Then make an image print please.
 
Last edited:
the same problem of kito

[16/12/2009 04:27:46] [Error - GlobalEvent Interface]
[16/12/2009 04:27:46] buffernThink
[16/12/2009 04:27:46] Description:
[16/12/2009 04:27:46] data/lib/004-database.lua:60: [Result:getDataInt] Result not set!
[16/12/2009 04:27:46] stack traceback:
[16/12/2009 04:27:46] [C]: in function 'error'
[16/12/2009 04:27:46] data/lib/004-database.lua:60: in function 'getDataInt'
[16/12/2009 04:27:46] data/lib/050-function.lua:789: in function 'getGuildsWithWar'
[16/12/2009 04:27:46] [string "loadBuffer"]:3: in function <[string "loadBuffer"]:2>
[16/12/2009 04:27:46] [Error - GlobalEvents::think] Couldn't execute event: wars

and in the site never accept the war, forever a pending invite, wen u reject a invite in the site still a pending invite.
 
I've repaired all, no bugs right now. I'll post tomorrow the new fixed mod and PHP file, since I can't use my computer right now.

Sorry.
 
Status
Not open for further replies.
Back
Top