The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
guildstones broke?
Author Message
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #31
RE: guildstones broke?
Have not tested yet...

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
10-02-2016 07:54 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #32
RE: guildstones broke?
whats this?

[WORLDITEM i_handr_1]
SERIAL=040001d14
NAME=Client Linger
TIMER=2
DISPID=0205a
TYPE=t_eq_client_linger
LAYER=48
CONT=01fab

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 10-03-2016 07:41 AM by x77x.)
10-03-2016 07:37 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #33
RE: guildstones broke?
client linger is the delay to make an logout char disappear from the world (default value is ClientLinger=300 on sphere.ini)
10-06-2016 08:45 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #34
RE: guildstones broke?
i wonder why newly created characters when they mouse over guild members and enemys they are both green
new player must choose a guild and are linked to the real guildstone via script

but older accounts everything is fine...

is there some kind of newbie/new account timer hidden somewhere?

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 10-06-2016 01:43 PM by x77x.)
10-06-2016 01:41 PM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #35
RE: guildstones broke?
same problem 6 months later...

2 new players, opposites guilds at war, are green to each other... should be orange

old account are orange to each other, but new characters are green to each other

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 12-21-2016 08:21 AM by x77x.)
12-21-2016 08:20 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #36
RE: guildstones broke?
probably it's something on your save files, because on sphere source/scripts everything is working fine
12-21-2016 08:50 AM
Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #37
RE: guildstones broke?
cant be, well it could... but what im doing is making 2 guildstones, (2 dif accounts) declaring war on each other...
then adding new characters to the guildstone via script

Code:
[MENU CONFIRMWEI]
Are you certain you wish to join the Army of Wei?
ON=0 No
SRC.SYSMESSAGE You decided not to join...
ON=0 Yes
JOINWEI

[FUNCTION JOINWEI]
REF1 <UID.040004000>
REF1.MEMBER=<SRC.UID>,,2,<SRC.UID>,1,1,0
SRC.SYSMESSAGE @04 Congtatulations, You have joined the mighty army of Wei!
SRC.GO 1513,1621,10

and heres the two guildstones in question...

Code:
[WORLDITEM i_guildstone]
SERIAL=040004001
NAME=Wu
COLOR=021
MOREP=1,1
P=5292,1187
ALIGN=0
ABBREV=Wu
MEMBER=01fda,,2,01fda,1,1,0
MEMBER=040004000,,100,00,1,1,0
MEMBER=040004002,,100,00,1,1,0
MEMBER=040004003,,100,00,1,1,0
MEMBER=040004004,,100,00,1,1,0
MEMBER=040004005,,100,00,1,1,0
MEMBER=040004006,,100,00,1,1,0
MEMBER=0774108c,,2,0774108c,1,1,0

[WORLDITEM i_guildstone]
SERIAL=040004000
NAME=Wei
COLOR=04
MOREP=1,1
P=5292,1188
ALIGN=0
ABBREV=Wei
MEMBER=01ffd,,2,01ffd,1,1,0
MEMBER=040004001,,100,00,1,1,0
MEMBER=040004002,,100,00,1,1,0
MEMBER=040004003,,100,00,1,1,0
MEMBER=040004004,,100,00,1,1,0
MEMBER=040004005,,100,00,1,1,0
MEMBER=040004006,,100,00,1,1,0
MEMBER=01f9e,,2,01f9e,1,1,0

and if you notice... first line is the guildmaster, the next ones are the guilds at war with (100 is war, 101 is ally) and the last line is an added member... the 2 is guild abrev on

but in game, 2 new characters opposite guilds are green to each other... but old characters are orange like they should be... like i said earlier... is there some kind of newbie timer forced on accidently in the source?

hmmm whats the 1,1,0 part?


im telling you im not crazy, someone please download and install the latest nightly sphere...
-create new account1, new character, make guild A
-create new account2, new character, make guild B
-now declare war on each other...
-save and shut down the server, get the serials for guild A and guild B from the worldsave
-use the above script to a stone, change the serials to yours
-now create a new account3 and character... join guild A with stone A
-create another account4 and character... join guild B with stone B

the characters will be green to each other, not orange like they should be

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 12-22-2016 07:58 AM by x77x.)
12-21-2016 09:05 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #38
RE: guildstones broke?
try using
Code:
[FUNCTION JOINWEI]
REF1=040004000
REF1.JoinAsMember <SRC>
SRC.NotoUpdate
instead
Code:
[FUNCTION JOINWEI]
REF1 <UID.040004000>
REF1.MEMBER=<SRC.UID>,,2,<SRC.UID>,1,1,0

if you need some custom behavior you can also uncomment f_stonesys_internal_isatwarwith / f_stonesys_internal_isalliedwith functions (\scripts\stones\sphere_genericstone_functions.scp) to override default hardcoded notoriety actions with your custom actions
12-21-2016 10:13 AM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #39
RE: guildstones broke?
You didn't set the guild memory on the players themselves maybe... Plus, isn't there a join function for guilds to add members with all proper info everywhere?

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
12-21-2016 10:18 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
x77x
Master
**

Posts: 488
Likes Given: 0
Likes Received: 15 in 15 posts
Joined: Mar 2012
Reputation: -4



Post: #40
RE: guildstones broke?
Code:
[FUNCTION JOINWEI]
REF1=040004000
REF1.JoinAsMember <SRC>
SRC.NotoUpdate

same, green to each other... and obviously doesnt turn abrev on


its gotta be the guildstones, the functions are fucked or the color is set wrong somewhere

even if i uncomment the color in sphere.ini

Code:
ColorNotoGuildWar=090        // orange (enemy guild)

they are still green

so for the record...
100 is WAR
101 is ALLY

i edited the worldsave and tried both but they are both green in game

Dragons of Time 2000-2020
http://dragonsoftime.com
(This post was last modified: 12-22-2016 10:10 AM by x77x.)
12-22-2016 06:57 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)