Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.

Author Topic:  Crashing while repairing  (Read 10293 times)

0 Members and 0 Guests are viewing this topic.

Joe

« on: 18, January 2012, 22:47:08 »
Im not sure what my problem is, no one else is having this issue. when i try to repair my gear with the shop keeper, i get a error message closing the game and asking if i want to report it. im not sure how to fix this as im the only one with the problem, any help is appreciated thanx.

Edit: after looking into it a bit more ive discovered it only happens with my char Joeshmo, both in Stonehaven and Stoneglow smiths.
« Last Edit: 18, January 2012, 23:02:52 by joeshmo »
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

_people_

« Reply #1 on: 19, January 2012, 01:42:32 »
I'm assuming you have an item with a really long name?

There is a SENTInce bug which crashes the client if a link is too long (well past the truncation point, even). We'll have to fix that in 0.10.6.
-- _people_ :)

Joe

« Reply #2 on: 19, January 2012, 02:17:06 »
Problem solved, Vinhi's rings name is just too long  >:D
Whoever said "Out of sight, out of mind" never had a spider disappear in their bedroom.

smacky

« Reply #3 on: 19, January 2012, 13:33:27 »
There is a SENTInce bug

This is impossible.

michtoen

« Reply #4 on: 19, January 2012, 14:40:17 »
we do not have bugs - we have "temporary not 100% working perfect code"
vita est proelium

clobber

« Reply #5 on: 19, January 2012, 17:10:50 »
Stop temporarily breaking things then ;)
Posted by Clobber

Collector Of Burnt out torches, 0 and Counting.

,-.  ___ ,-.
 \/ .   .  \ / 
(___O___)
 /  \      /   )
 ( ||       || )
  000     000
Woof, Woof!

Quote from: Longir
I use caution, fear is a distraction

smacky

« Reply #6 on: 23, January 2012, 16:49:57 »
Here's the problem (and happily why it's not really a SENTInce bug -- it is obviously a bug though).

When objects are sent from server to client their names are trimmed down to max 127 characters (in facŧ it is more complex -- first the object's material may be prefixed to the name and other things). This is done by the server before sending. So the client never knows the true name. For the vast majority of times this is totally irrelevant as who has such a ridiculously long object name anyway?

Going back the other way isn't an issue because the client does not send an object's name to the server, just its count (essentially a serial number).

In the NPC GUI though, things are slightly different and the name is not truncated by the server. So the client gets the full thing. SENTInce assumes no-one in their right mind would send a >127 char string for certain things like commands and links and title so only sets aside that amount of space. TBH this is a bit of a SENTInce oversight. In most cases it will truncate too long strings and all is well. Clearly there are holes though so they will need plugging.

But to start with I've fixed the scripts to not send this useless data in the first place.

I've only done scripts/smith.lua and guildhall/gofannon.lua. It is likely to be an issue elsewhere too so let scripters know if you find an example.

Tags:
 

Related Topics

  Subject / Started by Replies Last post
16 Replies
6763 Views
Last post 26, May 2006, 09:12:31
by gnub_slayer
8 Replies
2166 Views
Last post 27, September 2007, 15:31:07
by thunderstarstruk
4 Replies
1059 Views
Last post 21, May 2007, 13:22:43
by theoris
13 Replies
4954 Views
Last post 21, June 2008, 20:38:00
by smacky
5 Replies
3438 Views
Last post 20, November 2008, 12:06:01
by smacky