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:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[UPDATED]Paperdoll & Web
Author Message
admin_teclis
Journeyman
*

Posts: 51
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2012
Reputation: 0

Age of Apocalypse

Post: #4
RE: Paperdoll & Web
Hi Avatar,
i have a problem with your script. My paperdoll.scp:

[function f_set_mysphere_web] // You can put it on login or operate it with timer on item , whatever you like.

serv.MySqlDatabase=sphere // I prefer to use my data seperately since sometimes is diffucult to maintain all of them in same database.Yet, you can neglect this part or change accordingly.

db.connect
db.execute delete from myrunuo_characters where char_id='<eval <uid>>' // Each time players want to see their paperdoll, data belong to player should be removed and replaced by the new one.

db.query insert into myrunuo_characters (char_id, char_name, char_str, char_dex, char_int, char_female, char_counts, char_guild, char_guildtitle, char_nototitle, char_bodyhue, char_public) VALUES ('<eval <uid>>', '<addslashes <name>>', '<str>', '<dex>', '<int>', '<sex>', null, '<guild>', null, '<title>', '<eval <color>>', null) // Character Informations, you can adjust if there is missing part.


db.execute delete from myrunuo_characters_layers where char_id='<eval <uid>>' // Removing layers to replace again in order not to duplicate.

// Inserting data of layers from <src>
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
// Character skills
for x 1 49
db.query insert into myrunuo_characters_skills (char_id, skill_id, skill_value) VALUES ('<eval <uid>>','<dlocal.x>','<<def.player_skill_<dlocal.x>>')
endfor

db.close
serv.MySqlDatabase=sphere // Changing default mysql database set in sphere.ini in order not to cause any problems.

//// DEFNAME //
[defname player_skilldown]
player_skill_1 Alchemy
player_skill_2 Anatomy
player_skill_3 AnimalLore
player_skill_4 Taming
player_skill_5 Archery
player_skill_6 ArmsLore
player_skill_7 Begging
player_skill_8 Blacksmithing
player_skill_9 Bowcraft
player_skill_10 Camping
player_skill_11 Carpentry
player_skill_12 Cartography
player_skill_13 Cooking
player_skill_14 DetectingHidden
player_skill_15 Enticement
player_skill_16 EvaluatingIntel
player_skill_17 Fencing
player_skill_18 Fishing
player_skill_19 Forensics
player_skill_20 Healing
player_skill_21 Herding
player_skill_22 Hiding
player_skill_23 Inscription
player_skill_24 ItemId
player_skill_25 Lockpicking
player_skill_26 Lumberjacking
player_skill_27 MaceFighting
player_skill_28 Magery
player_skill_29 Meditation
player_skill_30 Mining
player_skill_31 Musicianship
player_skill_32 Parrying
player_skill_33 Peacemaking
player_skill_34 Poisoning
player_skill_35 Provocation
player_skill_36 RemoveTrap
player_skill_37 MagicResistance
player_skill_38 Snooping
player_skill_39 SpiritSpeak
player_skill_40 Stealing
player_skill_41 Stealth
player_skill_42 Swordsmanship
player_skill_43 Tactics
player_skill_44 Tailoring
player_skill_45 TasteId
player_skill_46 Tinkering
player_skill_47 Tracking
player_skill_48 Veterinary
player_skill_49 Wrestling

And in the sphere console error:

19:13:ERROR:(paperdoll.scp,6)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,8)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,8)Can't resolve <addslashes AoA>
19:13:ERROR:(paperdoll.scp,8)Can't resolve <str>
19:13:ERROR:(paperdoll.scp,8)Can't resolve <dex>
19:13:ERROR:(paperdoll.scp,8)Can't resolve <int>
19:13:ERROR:(paperdoll.scp,8)Can't resolve <sex>
19:13:ERROR:(paperdoll.scp,8)Can't resolve <guild>
19:13:ERROR:(paperdoll.scp,8)Can't resolve <color>
19:13:ERROR:(paperdoll.scp,11)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.1>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.2>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.3>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.4>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.5>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.6>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.7>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.8>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.9>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.10>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.11>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.12>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.13>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.14>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.15>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.16>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.17>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.18>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.19>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.20>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.21>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.22>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.23>
19:13:ERROR:(paperdoll.scp,15)Can't resolve <findlayer.24>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>
19:13:ERROR:(paperdoll.scp,22)Can't resolve <uid>

Why does functionally ?

Tnx for the reply...
12-20-2013 04:20 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
[UPDATED]Paperdoll & Web - Avatar - 12-17-2013, 09:22 PM
RE: Paperdoll & Web - Crusader - 12-17-2013, 09:42 PM
RE: Paperdoll & Web - Avatar - 12-17-2013, 09:54 PM
RE: Paperdoll & Web - admin_teclis - 12-20-2013 04:20 AM
RE: Paperdoll & Web - Avatar - 12-20-2013, 10:03 AM
RE: Paperdoll & Web - admin_teclis - 12-21-2013, 11:06 PM
RE: Paperdoll & Web - Avatar - 12-22-2013, 05:08 AM
RE: Paperdoll & Web - admin_teclis - 12-22-2013, 06:18 AM
RE: Paperdoll & Web - amonvangrell - 12-22-2013, 08:46 AM
RE: Paperdoll & Web - admin_teclis - 12-22-2013, 08:54 AM
RE: Paperdoll & Web - Avatar - 12-22-2013, 10:24 AM
RE: Paperdoll & Web - admin_teclis - 12-22-2013, 08:14 PM
RE: Paperdoll & Web - XuN - 12-22-2013, 09:22 PM
RE: Paperdoll & Web - admin_teclis - 12-22-2013, 09:24 PM
RE: Paperdoll & Web - Avatar - 12-23-2013, 05:50 AM
RE: [UPDATED]Paperdoll & Web - darksun84 - 12-23-2013, 10:11 PM
RE: [UPDATED]Paperdoll & Web - Avatar - 12-24-2013, 06:37 PM
RE: [UPDATED]Paperdoll & Web - Avatar - 12-24-2013, 09:36 PM
RE: [UPDATED]Paperdoll & Web - Extreme - 12-26-2013, 12:27 AM
RE: [UPDATED]Paperdoll & Web - Avatar - 12-26-2013, 10:23 PM
RE: [UPDATED]Paperdoll & Web - horadryn - 12-31-2013, 11:28 PM
RE: [UPDATED]Paperdoll & Web - Avatar - 01-01-2014, 01:18 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 01-05-2014, 03:59 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 01-05-2014, 05:41 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 01-05-2014, 08:20 AM
RE: [UPDATED]Paperdoll & Web - Avatar - 01-06-2014, 04:47 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 01-07-2014, 08:06 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 01-08-2014, 02:16 AM
RE: [UPDATED]Paperdoll & Web - Avatar - 01-08-2014, 05:18 AM
RE: [UPDATED]Paperdoll & Web - evening - 06-05-2014, 12:26 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 06-05-2014, 02:25 AM
RE: [UPDATED]Paperdoll & Web - darksun84 - 06-05-2014, 02:42 AM
RE: [UPDATED]Paperdoll & Web - evening - 06-05-2014, 02:54 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 06-05-2014, 04:06 AM
RE: [UPDATED]Paperdoll & Web - Feeh - 06-05-2014, 08:45 AM
RE: [UPDATED]Paperdoll & Web - evening - 06-05-2014, 01:21 PM
RE: [UPDATED]Paperdoll & Web - Avatar - 06-07-2014, 01:29 AM
RE: [UPDATED]Paperdoll & Web - evening - 06-07-2014, 01:14 PM
RE: [UPDATED]Paperdoll & Web - horadryn - 06-15-2014, 09:14 PM
RE: [UPDATED]Paperdoll & Web - Feeh - 06-16-2014, 03:24 AM
RE: [UPDATED]Paperdoll & Web - horadryn - 06-16-2014, 03:43 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 06-16-2014, 07:19 AM
RE: [UPDATED]Paperdoll & Web - horadryn - 07-05-2014, 07:01 PM
RE: [UPDATED]Paperdoll & Web - horadryn - 06-16-2014, 08:31 PM
RE: [UPDATED]Paperdoll & Web - Coruja - 06-17-2014, 10:54 AM
RE: [UPDATED]Paperdoll & Web - Feeh - 06-17-2014, 11:58 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 07-06-2014, 01:02 AM
RE: [UPDATED]Paperdoll & Web - horadryn - 07-07-2014, 06:11 PM
RE: [UPDATED]Paperdoll & Web - Avatar - 07-09-2014, 06:17 AM
RE: [UPDATED]Paperdoll & Web - horadryn - 07-12-2014, 11:55 PM
RE: [UPDATED]Paperdoll & Web - Feeh - 07-13-2014, 01:36 AM
RE: [UPDATED]Paperdoll & Web - Extreme - 09-08-2014, 10:46 AM
RE: [UPDATED]Paperdoll & Web - richm - 01-15-2015, 10:14 AM
RE: [UPDATED]Paperdoll & Web - Llirik - 09-17-2015, 05:14 AM
RE: [UPDATED]Paperdoll & Web - KyleH112 - 05-06-2016, 06:12 AM
RE: [UPDATED]Paperdoll & Web - Kanibal - 05-06-2016, 08:48 AM
RE: [UPDATED]Paperdoll & Web - KyleH112 - 05-06-2016, 09:38 AM
RE: [UPDATED]Paperdoll & Web - Kanibal - 05-06-2016, 11:04 AM
RE: [UPDATED]Paperdoll & Web - KyleH112 - 05-06-2016, 03:29 PM
RE: [UPDATED]Paperdoll & Web - Kanibal - 05-07-2016, 12:28 AM
RE: [UPDATED]Paperdoll & Web - Lilly - 02-05-2017, 02:58 AM

Forum Jump:


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