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-nmm7 (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-nmm7 (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-nmm7 (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
Last Svn Problem
Author Message
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #1
Last Svn Problem
Hi guys,

I have a problem in last sphere server nightly svn build. For example,

once you set a time to an item, then when it comes to finish in timer, the timer gets -1 and item is flipped automatically. I tried this with 2013 pre release 56b and it is fine, there is no problem. However, in 56c build, there is something wrong in timing issue. I dont actually get it why it is happening like this. Normally, it is supposed to get -1 in timer and stay as it is. What is this flipping ?
12-04-2013 03:23 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #2
RE: Last Svn Problem
Maybe you can provide more information, i've just tested this and it's not happening to me... it may be an event in the items
12-04-2013 03:40 AM
Find all posts by this user Like Post Quote this message in a reply
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #3
RE: Last Svn Problem
In House system, I have f_house_lock function and which removes attr_decay on the item and makes item's timer as -1.
I have a living shard right now and the version of it is 56b. Until that time, i havent any problem. However, i just want to use new definitions of resources of chardef and itemdef as deflist, i decided to use 56c. The thing that i just realize is this situation is happening not only my house system but also happening like the following case ;

If i just give an attr of move_never to item and after that set its timer as arbitrarily number like 2-3 or whatever, it comes -1 and flips.

I dont have anything related with flip issue in my events. If so, there would be something similar in 56b versiyon until this time.
(This post was last modified: 12-04-2013 06:42 AM by Avatar.)
12-04-2013 06:41 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #4
RE: Last Svn Problem
Move_never has always set its timer to -1. Why it is flipping I don't know. This is intended though. As it is not to decay or be deleted. So setting a timer to attr_move_never will always set that timer to -1. There is no bypassing this besides adding on=@Timer trigger to the item.

As for the FLIP? I don't know about that. The only thing I added to that intended behavior was attr_insured, attr_blessed, and I think one other thing. Nothing was edited minus the list of things it checked.

Oh I added attr_nodrop and attr_notrade. That was what else was added. Which are soon getting changed to one flag. (Heads up for people).
(This post was last modified: 12-04-2013 09:40 PM by Khaos.)
12-04-2013 09:24 PM
Find all posts by this user Like Post Quote this message in a reply
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #5
RE: Last Svn Problem
I know Khaos, how attr_move_never works, but i cant really know why it flips around itself Big Grin There is really not a script to interfere items like i said. Still dont know. Even there is no general control mechanism on=@timer , right ? , exist in Sphere Server Or am i wrong ?

Is it possible to happen because of the defnames ? Since i changed lots of definitions from 56b to 56c actually. Like spells so and so forth. Maybe something irrelevant or incorrect definition may lead to this situation. This is just a guess, i donot know the possibility.

Lastly, i did realize that ships have problem with 56c, ship tillerman says somethings, i do not remember, i forgot to note it. Cant use ships in water tile. Commands do not work. But it is okay in 56b. I'm using last pre release 2013 sphere version so not actually old compared to 56c
(This post was last modified: 12-10-2013 08:08 PM by Avatar.)
12-10-2013 08:01 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #6
RE: Last Svn Problem
I think Ben fixed the flipping issue if I remember right? I can ask him about it. I know he did an edit not long ago dealing with something with items flipping around. Defnames shouldn't be an issue here; unless you are calling for an item that does have a possible dupelist and you are calling the baseitem. Still doesn't add up on why it would do this on the TIMER though. Is there any way you can post or PM me this script to test that is flipping on timer? That way I can try to reproduce it.

Ships on 56c I know nothing about. I ask people all of the time what are the issues with ships. You could be missing a speech file or they just aren't attached to your ship multi/region.

Ships should work in a water tile. This was never an issue before and I haven't begun the fixes to ship problems since I don't even know what all of the problems are. If everyone can contribute on this thread any know ship bugs that would help a lot. These should be ships bugs found on clean servers or not have many/any custom scripts attached; so I know it is a sphere issue and not a script issue from the user.
(This post was last modified: 12-10-2013 08:15 PM by Khaos.)
12-10-2013 08:15 PM
Find all posts by this user Like Post Quote this message in a reply
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #7
RE: Last Svn Problem
For the flipping issue, i haven't got any script related items. In game, i just set "attr_move_never" then command it like xtimer 3 , for example. Yet, after 3 seconds, item flips.

For the ships, i have speech files and i have living shard having more than 70+ online player. Almost everyone in server uses ships with no problem in 56b last pre releases. However, as i said in 56c it is stuck on the ocean let say.

The speech files like the following ;

[SPEECH spk_ship_cmds]

ON=Set name *
// Changes Ship's name, where *=name.
NAME=<strmid(<args>,8,64)>

ON=Furl sail // Stop
ON=Stop // Stops current ship movement.
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPSTOP

ON=Turn Left
ON=Port
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPTURNLEFT
//OBJ=<UID>
//FORITEMS 8
//IF (<TYPE>==t_ship) || ((<UID.<REGION.UID>.ISAMULTI>) && (<UID>!=<OBJ>))
//IF (<UID>!=<OBJ>)
//SRC.sys_normal Size cok yakin olan baska bir gemi var.
//return 1
//ENDIF
// Turn Left


ON=Turn Right
ON=Starboard // Turn Right
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
//OBJ=<UID>
//FORITEMS 8
//IF (<TYPE>==t_ship) || ((<UID.<REGION.UID>.ISAMULTI>) && (<UID>!=<OBJ>))
//IF (<UID>!=<OBJ>)
//SRC.sys_normal Size cok yakin olan baska bir gemi var.
//return 1
//ENDIF
SHIPTURNRIGHT

ON=Left // Move ship in desired direction.
ON=Drift Left
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPDRIFTLEFT

ON=Right // Move ship in desired direction.
ON=Drift Right
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPDRIFTRIGHT

ON=Back // Move ship backwards
ON=Backward // Move ship backwards
ON=Backwards
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif // Move ship backwards
SHIPBACK

ON=Forward
ON=Foreward // Moves ship forward.
ON=Unfurl sail // Moves ship forward.
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPFORE

ON=Forward left
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPFORELEFT

ON=forward right
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPFORERIGHT

ON=backward left
ON=back left
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPBACKLEFT

ON=backward right

ON=back right
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPBACKRIGHT

ON=Raise Anchor
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPANCHORRAISE

ON=Drop Anchor
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPANCHORDROP

ON=Turn around // Turns ship around and proceeds.
ON=Come about // Turns ship around and proceeds.
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPTURN

ON=Up
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPUP

ON=Down
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPDOWN

ON=Land
if (<src.flags>&statf_dead)
src.sys_error Ölü durumda kullanamazsınız
return 1
endif
SHIPLAND

[EOF]
(This post was last modified: 12-10-2013 09:18 PM by Avatar.)
12-10-2013 09:10 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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