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
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #15
RE: Paperdoll & Web
You can just assign anything for male in related php file. For instance, just send a string like "male" or "female" fo to database and change content of php in related line. You can just query database and check sex whether male or not. As i said before, you can change anything you like in php files according to your needs. However in my server, there is no problem in sex issue. Seems correct everything in your database. I advice you to look at php files in detail. Try to understand which part is belong to character paperdoll. Obviously it is clear that you can just look at paperdoll.php and adjust accordingly. The problem i guess depends on the player character base whether male or female is taken from the gump file and the adress of it might be incorrect. You can fix that part. That is not issue. You will handle it. Just use Uo Findler or some equialavent software to look at hex value of character type. If something wrong (actually i donot have problem indeed.) change wrong part with the correct value.

In paperdoll.php ,
Here is the part that checks whether character male or female ;

if ($charfemale) {
$indexA = "13";
$femaleA = "1";
}
else {
$indexA = "12";
$femaleA = "0";
}

Only thing that you need to do is adjusting function that i gave for mysql.

In my function ,

check whether female or male if <sex> does not work like ; if <ismale> , if <isfemale> or whatever you like. Then put gender value to db.query so that php script can understand whether charfemale is 1 or 0. You can assign such as local.gender = 1 (for female) or 0 (for male) then put <dlocal.gender> instead of <sex>. Then it will work.
(This post was last modified: 12-23-2013 06:00 AM by Avatar.)
12-23-2013 05:50 AM
Visit this user's website 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: 11 Guest(s)