Avatar 
Journeyman

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5
The North Shield
![]()
|
RE: Huge tags = sphere crash
@Coruja
I shared something similar to your paperdoll stuff months ago. The things that you are storing with tags are actually working different way in what I stated. If you want you can look at http://forum.spherecommunity.net/Thread-...erdoll-Web and develop on it as you wish. What I shared is poor example how to do. What I mean by poor is that there is no detailed script for this. This is just a structure of how to do.You do not need to tag all layers. I checked it and all players data is transferred maybe at the same time with several function call. There is no crash issue or lag issue or whatever issue you can count. Sql operations fast and can be worked as background operation as well if you just manage. What I'm doing for transferring equipped items is to insert data into database instantly without storing in SphereServer like the following ;
Code:
for x 1 24
if <findlayer.<dlocal.x>>
ref1 = <findlayer.<dlocal.x>.uid>
db.query insert into myrunuo_characters_layers (char_id, layer_id, item_id, item_hue) VALUES ('<eval <ref1.cont.uid>>','<dlocal.x>','<eval <ref1.id>>','<eval <ref1.color>>') //
endif
endfor
(This post was last modified: 04-30-2014 08:41 AM by Avatar.)
|
|
| 04-30-2014 08:30 AM |
|
|