Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Errores/warning...
Author Message
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #1
Errores/warning...
Loading scripts/sphere_speech.scp
Loading scripts/sphere_types.scp
WARNING:(sphere_types.scp,25)Redef resource 't_water'
WARNING:(sphere_types.scp,33)Redef resource 't_rock'
WARNING:(sphere_types.scp,56)Redef resource 't_dirt'
WARNING:(sphere_types.scp,60)Redef resource 't_grass'
WARNING:(sphere_types.scp,84)Redef resource 't_lava'
WARNING:(sphere_types.scp,87)Redef resource 't_snow'
WARNING:(sphere_types.scp,92)Redef resource 't_swamp'
WARNING:(sphere_types.scp,99)Redef resource 't_sand'
WARNING:(sphere_types.scp,114)Redef resource 't_jungle'
WARNING:(sphere_types.scp,134)Redef resource 't_forest'
Loading scripts/items/sphere_item_vegetation.scp
Loading scripts/items/sphere_item_unsorted.scp
WARNING:(sphere_item_unsorted.scp,168)The DEFNAME=i_fountain_splash has a strange type mismatch? 090d!=09c00090d
Loading scripts/items/sphere_item_typedef_equipitem.scp

How do i fix this? why it happens?
07-18-2016 12:00 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: #2
RE: Errores/warning...
these lines are just warnings, not really errors

probably you're using the 'debug' sphere sphere build, which have some warnings enabled by default, like this one above "Redef resource xxx" telling you that you have 2 different [TYPEDEF t_water] defined on your scripts. The server read the first [TYPEDEF t_water] without problems but later it found another [TYPEDEF t_water] on another script and will tell you that the "resource" (typedef) is being redefined

these warnings won't cause damage to your server and are just some tips to make your scripts better (like in this case, that will help you prevent some duplicated TYPEDEFs)
07-18-2016 10:54 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Coruja's post
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #3
RE: Errores/warning...
ty coruja Big Grin
07-19-2016 01:08 AM
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)