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
Errors on script after exe update
Author Message
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #1
Errors on script after exe update
Hi,
I updated exe to [build 670 / Git hash 6a976c5d] from [build 471 / GIT hash 61d4ac85] and many of my scripts are giving errors, when they were working correctly before.
Trying to understand why, i found this:
serv.log test1. <STR>
serv.log test2. <TAG0.MODMAXHITS>
serv.log test3. <tag0.hits_bonus_perc>
serv.log test4. <INT>
serv.log test5. <TAG0.MODMAXMANA>
serv.log test6. <tag0.mana_bonus_perc>
serv.log test7. <DEX>
serv.log test8. <TAG0.MODMAXSTAM>
serv.log test9. <tag0.stam_bonus_perc>

build 471:
15:11:(Race-Class System.scp,29)test1. 63
15:11:(Race-Class System.scp,30)test2. 04c
15:11:(Race-Class System.scp,31)test3. 0
15:11:(Race-Class System.scp,32)test4. 10
15:11:(Race-Class System.scp,33)test5. 0
15:11:(Race-Class System.scp,34)test6. 0
15:11:(Race-Class System.scp,35)test7. 38
15:11:(Race-Class System.scp,36)test8. 0
15:11:(Race-Class System.scp,37)test9. 0

build 670:
12:56:(Race-Class System.scp,29)test1. 63ú
12:56:(Race-Class System.scp,30)test2. 04cú
12:56:(Race-Class System.scp,31)test3. 0ú
12:56:(Race-Class System.scp,32)test4. 10ú
12:56:(Race-Class System.scp,33)test5. 0ú
12:56:(Race-Class System.scp,34)test6. 0ú
12:56:(Race-Class System.scp,35)test7. 38ú
12:56:(Race-Class System.scp,36)test8. 0ú
12:56:(Race-Class System.scp,37)test9. 0ú

( is DC3 for notepadd++)

Does anyone know why this happens?
(This post was last modified: 08-15-2018 11:55 PM by Artyk.)
08-15-2018 11:55 PM
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: #2
RE: Errors on script after exe update
what's your OS language? I'm testing here and it seems to be working fine

Code:
[FUNCTION test]
TAG.ModMaxHits=123
TAG.Hits_Bonus_Perc=321
SERV.LOG test1. <STR>
SERV.LOG test2. <TAG0.ModMaxHits>
SERV.LOG test3. <TAG0.Hits_Bonus_Perc>
=
Quote:00:55:(testing.scp,32)test1. 100
00:55:(testing.scp,33)test2. 07b // ----> 07b (hex) = 123 (dec)
00:55:(testing.scp,34)test3. 0141 // ----> 0141 (hex) = 321 (dec)
08-17-2018 02:04 PM
Find all posts by this user Like Post Quote this message in a reply
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #3
RE: Errors on script after exe update
I'm on Windows 10 Pro v.1803
Language Italian
08-17-2018 08:46 PM
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: #4
RE: Errors on script after exe update
nah, I'm also testing on win10 (english and portuguese) and can't reproduce it here

but anyway, here on this link you can find all 56d builds to download, maybe if you find exactly the build number where this problem started I can review the changes made on this build to check if there's something wrong

PS: to download builds on this link you just need to select the build number, select windows build (visual studio), go to "artifacts" tab, and the .exe file will be there
08-20-2018 08:37 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #5
RE: Errors on script after exe update
Last working 0.56.4.556
From build 0.56.4.557 on (i also tried some random build from that and the last) i have that problem.

Thank you
08-20-2018 10:11 PM
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: #6
RE: Errors on script after exe update
I compiled the current build 681 with some functions reverted from build 556, try using these builds to check if it's working fine
https://mega.nz/#!VxAH3YSC!pzgCK0gd7vfQv...lcWeXD-Ewo
08-25-2018 05:53 AM
Find all posts by this user Like Post Quote this message in a reply
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #7
RE: Errors on script after exe update
There were 4 files in the zip, I used "SphereSvr_reverted_CFileObj.exe"
Still got the problem


Attached File(s) Thumbnail(s)
   
08-25-2018 07:02 PM
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: #8
RE: Errors on script after exe update
these files are different, you should try these 4 files to check which one is working
08-26-2018 03:05 AM
Find all posts by this user Like Post Quote this message in a reply
Artyk
Journeyman
*

Posts: 75
Likes Given: 43
Likes Received: 9 in 9 posts
Joined: Sep 2014
Reputation: 0



Post: #9
RE: Errors on script after exe update
Tried all of them, none worked Sad
(This post was last modified: 08-26-2018 04:33 AM by Artyk.)
08-26-2018 04:33 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: #10
RE: Errors on script after exe update
sounds weird, from build 556 (which you said it's working fine) to 557 (with problem) there's 4 types of functions that got changed. I reverted each one of these 4 changes on the test builds above and it still returning error, so maybe the problem is on your .scp files instead SphereSvr.exe

try open these files using an text editor like notepad++ to check if the file is using proper encryption
08-27-2018 10:16 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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