pwAdmin 151

Page 3 of 8 FirstFirst 12345678 LastLast
Results 51 to 75 of 183
  1. #51
    QuoteShiek Member NanayaQ is offline
    MemberRank
    Jul 2012 Join Date
    791Posts

    Re: pwAdmin 151

    Quote Originally Posted by sora1984 View Post
    roles table


    Code:
    -- phpMyAdmin SQL Dump
    -- version 4.1.5
    -- http://www.phpmyadmin.net
    --
    -- Host: localhost
    -- Generation Time: Mar 14, 2014 at 12:07 AM
    -- Server version: 5.5.35-0ubuntu0.12.04.2
    -- PHP Version: 5.3.10-1ubuntu3.10
    
    SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
    SET time_zone = "+00:00";
    
    
    /*!40101 SET @old_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
    /*!40101 SET @old_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
    /*!40101 SET @old_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
    /*!40101 SET NAMES utf8 */;
    
    --
    -- Database: `pw`
    --
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `roles`
    --
    
    DROP TABLE IF EXISTS `roles`;
    CREATE TABLE IF NOT EXISTS `roles` (
      `account_id` int(11) NOT NULL,
      `role_id` int(11) NOT NULL,
      `role_name` varchar(64) NOT NULL,
      `role_level` smallint(6) NOT NULL,
      `role_race` tinyint(4) NOT NULL,
      `role_occupation` tinyint(4) NOT NULL,
      `role_gender` tinyint(4) NOT NULL,
      `role_spouse` int(11) NOT NULL,
      `faction_id` int(11) NOT NULL,
      `faction_name` varchar(64) NOT NULL,
      `faction_level` int(11) NOT NULL,
      `faction_domains` varchar(132) NOT NULL,
      `role_faction_rank` int(11) NOT NULL,
      `pvp_time` int(11) NOT NULL,
      `pvp_kills` int(11) NOT NULL,
      `pvp_deads` int(11) NOT NULL
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Truncate table before insert `roles`
    --
    
    TRUNCATE TABLE `roles`;
    /*!40101 SET CHARACTER_SET_CLIENT @old_CHARACTER_SET_CLIENT */;
    /*!40101 SET CHARACTER_SET_RESULTS @old_CHARACTER_SET_RESULTS */;
    /*!40101 SET COLLATION_CONNECTION @old_COLLATION_CONNECTION */;
    Thanks I was missing that on the 151 release.

    also if you guys run mysql version 5+

    change /*!.........*/ to #


    P.S
    I also have problem with Creating/Change/Delete Account dunno if it suppose to work or not but It kept saying not connected to mysql so far
    Gamemaster/Cubi Transfer works fine and it also show my account on the Account Browser.
    Last edited by NanayaQ; 14-03-14 at 06:14 PM.

  2. #52
    Member Regano is offline
    MemberRank
    Feb 2012 Join Date
    94Posts

    Re: pwAdmin 151

    Thank You.

    but.

    Import after...
    Synchronize GameDB with MySQL Role Table

    white charackter page :(

  3. #53
    Enthusiast arturluiz007 is offline
    MemberRank
    Jun 2009 Join Date
    27Posts

    Re: pwAdmin 151

    sora1984, maps aren't loading properly through pwAdmin, they just don't load.

    But if I execute iweb_map.sh from my ssh console it start just fine.

    I suppose that it need root permission, do you know how can I give it these permissions?

  4. #54
    RaGEZONER fgru is offline
    MemberRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: pwAdmin 151

    Thanks I was missing that on the 151 release.
    roles table not release content . its ONLY for pwadmin

    Import after...
    Synchronize GameDB with MySQL Role Table

    white charackter page :(
    maybe wrong java installed or any other similar problem ...

  5. #55
    Valued Member Latyos is offline
    MemberRank
    Jul 2011 Join Date
    132Posts

    Re: pwAdmin 151

    If somebody needs, this is my db structrue which working with pwadmin and 1.5.1 auth.

    Code:
    -- phpMyAdmin SQL Dump
    -- version 3.3.5.1
    -- http://www.phpmyadmin.net
    --
    -- Host: localhost
    -- Generation Time: Mar 15, 2014 at 01:33 AM
    -- Server version: 5.0.95
    -- PHP Version: 5.3.3
    
    SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
    
    
    /*!40101 SET @old_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
    /*!40101 SET @old_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
    /*!40101 SET @old_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
    /*!40101 SET NAMES utf8 */;
    
    --
    -- Database: `pw`
    --
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `auth`
    --
    
    CREATE TABLE IF NOT EXISTS `auth` (
      `userid` int(11) NOT NULL default '0',
      `zoneid` int(11) NOT NULL default '0',
      `rid` int(11) NOT NULL default '0',
      PRIMARY KEY  (`userid`,`zoneid`,`rid`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Dumping data for table `auth`
    --
    
    INSERT INTO `auth` (`userid`, `zoneid`, `rid`) VALUES
    
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `forbid`
    --
    
    CREATE TABLE IF NOT EXISTS `forbid` (
      `userid` int(11) NOT NULL default '0',
      `type` int(11) NOT NULL default '0',
      `ctime` datetime NOT NULL,
      `forbid_time` int(11) NOT NULL default '0',
      `reason` blob NOT NULL,
      `gmroleid` int(11) default '0',
      PRIMARY KEY  (`userid`,`type`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Dumping data for table `forbid`
    --
    
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `iplimit`
    --
    
    CREATE TABLE IF NOT EXISTS `iplimit` (
      `uid` int(11) NOT NULL default '0',
      `ipaddr1` int(11) default '0',
      `ipmask1` varchar(2) default '',
      `ipaddr2` int(11) default '0',
      `ipmask2` varchar(2) default '',
      `ipaddr3` int(11) default '0',
      `ipmask3` varchar(2) default '',
      `enable` char(1) default '',
      `lockstatus` char(1) default '',
      PRIMARY KEY  (`uid`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Dumping data for table `iplimit`
    --
    
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `online`
    --
    
    CREATE TABLE IF NOT EXISTS `online` (
      `ID` int(11) default NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
    
    --
    -- Dumping data for table `online`
    --
    
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `point`
    --
    
    CREATE TABLE IF NOT EXISTS `point` (
      `uid` int(11) NOT NULL default '0',
      `aid` int(11) NOT NULL default '0',
      `time` int(11) NOT NULL default '0',
      `zoneid` int(11) default '0',
      `zonelocalid` int(11) default '0',
      `accountstart` datetime default NULL,
      `lastlogin` datetime default NULL,
      `enddate` datetime default NULL,
      PRIMARY KEY  (`uid`,`aid`),
      KEY `IX_point_aidzoneid` (`aid`,`zoneid`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Dumping data for table `point`
    --
    
    INSERT INTO `point` (`uid`, `aid`, `time`, `zoneid`, `zonelocalid`, `accountstart`, `lastlogin`, `enddate`) VALUES
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `roles`
    --
    
    CREATE TABLE IF NOT EXISTS `roles` (
      `account_id` int(11) NOT NULL,
      `role_id` int(11) NOT NULL,
      `role_name` varchar(64) NOT NULL,
      `role_level` smallint(6) NOT NULL,
      `role_race` tinyint(4) NOT NULL,
      `role_occupation` tinyint(4) NOT NULL,
      `role_gender` tinyint(4) NOT NULL,
      `role_spouse` int(11) NOT NULL,
      `faction_id` int(11) NOT NULL,
      `faction_name` varchar(64) NOT NULL,
      `faction_level` int(11) NOT NULL,
      `faction_domains` varchar(132) NOT NULL,
      `role_faction_rank` int(11) NOT NULL,
      `pvp_time` int(11) NOT NULL,
      `pvp_kills` int(11) NOT NULL,
      `pvp_deads` int(11) NOT NULL
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Dumping data for table `roles`
    --
    
    INSERT INTO `roles` (`account_id`, `role_id`, `role_name`, `role_level`, `role_race`, `role_occupation`, `role_gender`, `role_spouse`, `faction_id`, `faction_name`, `faction_level`, `faction_domains`, `role_faction_rank`, `pvp_time`, `pvp_kills`, `pvp_deads`) VALUES
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `usecashlog`
    --
    
    CREATE TABLE IF NOT EXISTS `usecashlog` (
      `userid` int(11) NOT NULL default '0',
      `zoneid` int(11) NOT NULL default '0',
      `sn` int(11) NOT NULL default '0',
      `aid` int(11) NOT NULL default '0',
      `point` int(11) NOT NULL default '0',
      `cash` int(11) NOT NULL default '0',
      `status` int(11) NOT NULL default '0',
      `creatime` datetime NOT NULL,
      `fintime` datetime NOT NULL,
      KEY `IX_usecashlog_creatime` (`creatime`),
      KEY `IX_usecashlog_uzs` (`userid`,`zoneid`,`sn`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Dumping data for table `usecashlog`
    --
    
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `usecashnow`
    --
    
    CREATE TABLE IF NOT EXISTS `usecashnow` (
      `userid` int(11) NOT NULL default '0',
      `zoneid` int(11) NOT NULL default '0',
      `sn` int(11) NOT NULL default '0',
      `aid` int(11) NOT NULL default '0',
      `point` int(11) NOT NULL default '0',
      `cash` int(11) NOT NULL default '0',
      `status` int(11) NOT NULL default '0',
      `creatime` datetime NOT NULL,
      PRIMARY KEY  (`userid`,`zoneid`,`sn`),
      KEY `IX_usecashnow_creatime` (`creatime`),
      KEY `IX_usecashnow_status` (`status`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Dumping data for table `usecashnow`
    --
    
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `users`
    --
    
    CREATE TABLE IF NOT EXISTS `users` (
      `ID` int(11) NOT NULL default '0',
      `name` varchar(32) NOT NULL default '',
      `passwd` varchar(64) NOT NULL,
      `Prompt` varchar(32) NOT NULL default '',
      `answer` varchar(32) NOT NULL default '',
      `truename` varchar(32) NOT NULL default '',
      `idnumber` varchar(32) NOT NULL default '',
      `email` varchar(64) NOT NULL default '',
      `mobilenumber` varchar(32) default '',
      `province` varchar(32) default '',
      `city` varchar(32) default '',
      `phonenumber` varchar(32) default '',
      `address` varchar(64) default '',
      `postalcode` varchar(8) default '',
      `gender` int(11) default '0',
      `birthday` datetime default NULL,
      `creatime` datetime NOT NULL,
      `qq` varchar(32) default '',
      `passwd2` varchar(64) default NULL,
      PRIMARY KEY  (`ID`),
      UNIQUE KEY `IX_users_name` (`name`),
      KEY `IX_users_creatime` (`creatime`)
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Dumping data for table `users`
    --
    
    INSERT INTO `users` (`ID`, `name`, `passwd`, `Prompt`, `answer`, `truename`, `idnumber`, `email`, `mobilenumber`, `province`, `city`, `phonenumber`, `address`, `postalcode`, `gender`, `birthday`, `creatime`, `qq`, `passwd2`) VALUES
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `uwebplayers`
    --
    
    CREATE TABLE IF NOT EXISTS `uwebplayers` (
      `roleid` int(11) NOT NULL,
      `rolename` varchar(50) default NULL,
      `rolelevel` int(11) default NULL,
      `rolestatus` int(11) default NULL,
      `rolegender` int(11) default NULL,
      `roleprof` bigint(20) default NULL,
      `rolerep` bigint(20) default NULL,
      `redname` bigint(20) default NULL,
      `rednametime` bigint(20) default NULL,
      `pinknametime` bigint(20) default NULL,
      PRIMARY KEY  (`roleid`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
    
    --
    -- Dumping data for table `uwebplayers`
    --

  6. #56
    Member Regano is offline
    MemberRank
    Feb 2012 Join Date
    94Posts

    Re: pwAdmin 151

    Quote Originally Posted by fgru View Post
    roles table not release content . its ONLY for pwadmin



    maybe wrong java installed or any other similar problem ...
    roles is supposed to be automatically generated by the pwadmin?
    It has been automatically generated in ¤ The Complete PW Package ¤.

    What people are working properly do you have installed?
    I have installed openjdk-7-jre.
    View of character and adding accounts, editing,
    And server setting does not work correctly.

    ¤ The Complete PW Package ¤ (1.3.6)
    In both were working properly.

    I'm really in trouble.

  7. #57
    Enthusiast luckyjackz is offline
    MemberRank
    Sep 2012 Join Date
    47Posts

    Re: pwAdmin 151

    anyone who knows how to learn / get all skill for any race / class ?

  8. #58
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: pwAdmin 151

    I've been adding the skills to the plugin will release when I'm done with it

  9. #59
    RaGEZONER fgru is offline
    MemberRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: pwAdmin 151

    thx sora

    for any1 that cant wait:

    create a char > get all skills > go to iweb > copy all from section skills for future actions

    but i thinks many ppl are too lazy to do this ...

  10. #60
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: pwAdmin 151

    It's not hard to find and add the skill hex I will do a quick guide when I'm home

  11. #61
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: pwAdmin 151

    Ok skills Octects

    octects for skills Eg Tiger Maw level 1:

    01000000010000000000000001000000
    the first 8 are the amount of skills 01000000 = 1
    the next 16 is the skill 0100000000000000 = 1
    the last 8 are the skill level 01000000 = 1


    heres how to get the skill hex
    configs.pck > skillstr.txt

    we use this but remove that last digit
    11 "^ffffffTiger Maw (Level %d)

    so we use 1 convert to hex (double 8 bytes) > 0100000000000000
    add its level, im gonna do level 1
    1 > (double 4 bytes) > 01000000

    "010000000000000001000000" = level 1 Tiger Maw

    now lets add

    21 "^ffffffDraw Blood (Level %d)

    so take 21 - the last digit > 2
    to hex (double 8 bytes) > 0200000000000000
    add the level, im gonna do level 10 this time
    10 > (double 4 bytes) > 0a000000
    "02000000000000000a000000" = level 10 Draw Blood

    put them together: so now we have

    01000000000000000100000002000000000000000a000000
    now all we are missing is the 1st 8 which is the amount of skill we have 2 so its
    2 > (double 4 bytes) > 02000000

    0200000001000000000000000100000002000000000000000a000000

    2 skills | tiger maw level 1 | draw blood level 10
    02000000 0100000000000000 01000000 0200000000000000 0a000000

    hope that is clear enough...
    Last edited by sora1984; 15-03-14 at 08:35 PM.

  12. #62
    Enthusiast luckyjackz is offline
    MemberRank
    Sep 2012 Join Date
    47Posts

    Re: pwAdmin 151

    after we get this :
    2 skills | tiger maw level 1 | draw blood level 10
    02000000 0100000000000000 01000000 0200000000000000 0a000000
    and then ? put that on where ?

    i think it's more good when create char and then get all skills

  13. #63
    RaGEZONER fgru is offline
    MemberRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: pwAdmin 151

    omg ... xml ? pwadmin ? iweb ? u need more ?

    i think it's more good when create char and then get all skills
    and where do you get the skills ?

    btw first time u need to read ALL pases like this

  14. #64
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: pwAdmin 151

    thats the problem these days, you show people how to do things and they still want it doing for them

  15. #65
    Enthusiast StrangerJr is offline
    MemberRank
    Feb 2012 Join Date
    SiberiaLocation
    35Posts

    Re: pwAdmin 151

    Quote Originally Posted by sora1984 View Post
    Ok skills Octects

    octects for skills Eg Tiger Maw level 1:

    01000000010000000000000001000000
    the first 8 are the amount of skills 01000000 = 1
    the next 16 is the skill 0100000000000000 = 1
    the last 8 are the skill level 01000000 = 1


    heres how to get the skill hex
    configs.pck > skillstr.txt

    we use this but remove that last digit
    11 "^ffffffTiger Maw (Level %d)

    so we use 1 convert to hex (double 8 bytes) > 0100000000000000
    add its level, im gonna do level 1
    1 > (double 4 bytes) > 01000000

    "010000000000000001000000" = level 1 Tiger Maw

    now lets add

    21 "^ffffffDraw Blood (Level %d)

    so take 21 - the last digit > 2
    to hex (double 8 bytes) > 0200000000000000
    add the level, im gonna do level 10 this time
    10 > (double 4 bytes) > 0a000000
    "02000000000000000a000000" = level 10 Draw Blood

    put them together: so now we have

    01000000000000000100000002000000000000000a000000
    now all we are missing is the 1st 8 which is the amount of skill we have 2 so its
    2 > (double 4 bytes) > 02000000

    0200000001000000000000000100000002000000000000000a000000

    2 skills | tiger maw level 1 | draw blood level 10
    02000000 0100000000000000 01000000 0200000000000000 0a000000

    hope that is clear enough...
    skills - 0100000001000000000000000a000000

    01000000 - count
    skill 1: 01000000000000000a000000
    • 01000000 - id
    • 00000000 - progress (always 0 if not a craft)
    • 0a000000 - level (from 1 to 10)

  16. #66
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: pwAdmin 151

    00000000 - progress (always 0 if not a craft)
    i did wonder if that was the case just couldn't be fucked checking haha

    thanks

  17. #67
    Apprentice xpr013 is offline
    MemberRank
    Aug 2011 Join Date
    5Posts

    Re: pwAdmin 151

    Quote Originally Posted by sora1984 View Post
    roles table


    Code:
    -- phpMyAdmin SQL Dump
    -- version 4.1.5
    -- http://www.phpmyadmin.net
    --
    -- Host: localhost
    -- Generation Time: Mar 14, 2014 at 12:07 AM
    -- Server version: 5.5.35-0ubuntu0.12.04.2
    -- PHP Version: 5.3.10-1ubuntu3.10
    
    SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
    SET time_zone = "+00:00";
    
    
    /*!40101 SET @old_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
    /*!40101 SET @old_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
    /*!40101 SET @old_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
    /*!40101 SET NAMES utf8 */;
    
    --
    -- Database: `pw`
    --
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `roles`
    --
    
    DROP TABLE IF EXISTS `roles`;
    CREATE TABLE IF NOT EXISTS `roles` (
      `account_id` int(11) NOT NULL,
      `role_id` int(11) NOT NULL,
      `role_name` varchar(64) NOT NULL,
      `role_level` smallint(6) NOT NULL,
      `role_race` tinyint(4) NOT NULL,
      `role_occupation` tinyint(4) NOT NULL,
      `role_gender` tinyint(4) NOT NULL,
      `role_spouse` int(11) NOT NULL,
      `faction_id` int(11) NOT NULL,
      `faction_name` varchar(64) NOT NULL,
      `faction_level` int(11) NOT NULL,
      `faction_domains` varchar(132) NOT NULL,
      `role_faction_rank` int(11) NOT NULL,
      `pvp_time` int(11) NOT NULL,
      `pvp_kills` int(11) NOT NULL,
      `pvp_deads` int(11) NOT NULL
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Truncate table before insert `roles`
    --
    
    TRUNCATE TABLE `roles`;
    /*!40101 SET CHARACTER_SET_CLIENT @old_CHARACTER_SET_CLIENT */;
    /*!40101 SET CHARACTER_SET_RESULTS @old_CHARACTER_SET_RESULTS */;
    /*!40101 SET COLLATION_CONNECTION @old_COLLATION_CONNECTION */;
    where did i put this? create new sql or what?

  18. #68
    0, 1, 1, 2, 3, 5, 8, 13, argonaut is offline
    MemberRank
    Sep 2011 Join Date
    AustraliaLocation
    602Posts

    Re: pwAdmin 151

    Quote Originally Posted by xpr013 View Post
    where did i put this? create new sql or what?
    Import into 'pw' database.

  19. #69
    QuoteShiek Member NanayaQ is offline
    MemberRank
    Jul 2012 Join Date
    791Posts

    Re: pwAdmin 151

    Here is the role table for mysql 5.1.73+
    I know someone going to ask why there is an error or just to lazy to replace /*! ........ */ with # etc etc etc....
    Code:
    -- phpMyAdmin SQL Dump
    -- version 5.1.73
    -- http://www.phpmyadmin.net
    --
    -- Host: localhost
    -- Generation Time: Mar 14, 2014 at 12:07 AM
    -- Server version: 5.5.35-0ubuntu0.12.04.2
    -- PHP Version: 5.3.10-1ubuntu3.10
    
    SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
    SET time_zone = "+00:00";
    
    
    #40101 SET @old_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT #;
    #40101 SET @old_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS #;
    #40101 SET @old_COLLATION_CONNECTION=@@COLLATION_CONNECTION #;
    #40101 SET NAMES utf8 #;
    
    --
    -- Database: `pw`
    --
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `roles`
    --
    
    DROP TABLE IF EXISTS `roles`;
    CREATE TABLE IF NOT EXISTS `roles` (
      `account_id` int(11) NOT NULL,
      `role_id` int(11) NOT NULL,
      `role_name` varchar(64) NOT NULL,
      `role_level` smallint(6) NOT NULL,
      `role_race` tinyint(4) NOT NULL,
      `role_occupation` tinyint(4) NOT NULL,
      `role_gender` tinyint(4) NOT NULL,
      `role_spouse` int(11) NOT NULL,
      `faction_id` int(11) NOT NULL,
      `faction_name` varchar(64) NOT NULL,
      `faction_level` int(11) NOT NULL,
      `faction_domains` varchar(132) NOT NULL,
      `role_faction_rank` int(11) NOT NULL,
      `pvp_time` int(11) NOT NULL,
      `pvp_kills` int(11) NOT NULL,
      `pvp_deads` int(11) NOT NULL
    ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
    
    --
    -- Truncate table before insert `roles`
    --
    
    TRUNCATE TABLE `roles`;
    #40101 SET CHARACTER_SET_CLIENT @old_CHARACTER_SET_CLIENT #;
    #40101 SET CHARACTER_SET_RESULTS @old_CHARACTER_SET_RESULTS #;
    #40101 SET COLLATION_CONNECTION @old_COLLATION_CONNECTION #;

  20. #70
    Apprentice khatvong0702 is offline
    MemberRank
    Dec 2013 Join Date
    6Posts

    Re: pwAdmin 151

    Please help me!
    My PwAdmin cant doing it bot load

  21. #71
    RaGEZONER fgru is offline
    MemberRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: pwAdmin 151

    omg !!! stupid, stupid, stupid ...

    http://forum.ragezone.com/f751/pwadm...9/#post8010559

  22. #72
    Apprentice khatvong0702 is offline
    MemberRank
    Dec 2013 Join Date
    6Posts

    Re: pwAdmin 151

    But how edit?
    i dont know how changer
    Code:
    <%@page import="java.io.*"%>
    <%
    //-------------------------------------------------------------------------------------------------------------------------
    //------------------------------- SETTINGS --------------------------------------------------------------------------------
    //-------------------------------------------------------------------------------------------------------------------------
    // pwadmin access password as md5 encrypted string
    // default password is root -> 63a9f0ea7bb98050796b649e85481845
    String iweb_password = "63a9f0ea7bb98050796b649e85481845";
    // connection settings to the mysql pw database
    String db_host = "localhost";
    String db_port = "3306";
    String db_user = "root";
    String db_password = "root";
    String db_database = "pw";
    // Type of your items database required for mapping id's to names
    // Options are my or pwi
    String item_labels = "pwi";
    // Absolute path to your PW-Server main directory (startscript, stopscript, /gamed)
    // requires a tailing slash
    String pw_server_path = "/home/";
    // If you have hundreds of characters or heavy web acces through this site
    // It is recommend to turn the realtime character list feature off (false)
    // to prevent server from overload injected by character list generation
    boolean enable_character_list = true;
    String pw_server_name = "Perfect World";
    String pw_server_description = "Fixed by DaMadBoy, 151 iweb from Bola, Merged by Sora1984";
    //-------------------------------------------------------------------------------------------------------------------------
    //----------------------------- END SETTINGS ------------------------------------------------------------------------------
    //-------------------------------------------------------------------------------------------------------------------------
    String pw_server_exp = "?";
    String pw_server_sp = "?";
    String pw_server_drop = "?";
    String pw_server_coins = "?";
    BufferedReader bfr = new BufferedReader(new FileReader(pw_server_path + "gamed/ptemplate.conf"));
    String row;
    while((row = bfr.readLine()) != null)
    {
    row = row.replaceAll("\\s", "");
    if(row.indexOf("exp_bonus=") != -1)
    {
    int pos = row.length();
    if(row.indexOf("#") != -1)
    {
    pos = row.indexOf("#");
    }
    pw_server_exp = row.substring(10, pos);
    }
    if(row.indexOf("sp_bonus=") != -1)
    {
    int pos = row.length();
    if(row.indexOf("#") != -1)
    {
    pos = row.indexOf("#");
    }
    pw_server_sp = row.substring(9, pos);
    }
    if(row.indexOf("drop_bonus=") != -1)
    {
    int pos = row.length();
    if(row.indexOf("#") != -1)
    {
    pos = row.indexOf("#");
    }
    pw_server_drop = row.substring(11, pos);
    }
    if(row.indexOf("money_bonus=") != -1)
    {
    int pos = row.length();
    if(row.indexOf("#") != -1)
    {
    pos = row.indexOf("#");
    }
    pw_server_coins = row.substring(12, pos);
    }
    }
    bfr.close();
    if(request.getSession().getAttribute("items") == null)
    {
    String[] items = new String[30001];
    try
    {
    bfr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(request.getRealPath("/include/items") + "/default.dat")), "UTF8"));
    if(item_labels.compareTo("my") == 0)
    {
    bfr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(request.getRealPath("/include/items") + "/my.dat")), "UTF8"));
    }
    if(item_labels.compareTo("pwi") == 0)
    {
    bfr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(request.getRealPath("/include/items") + "/pwi.dat")), "UTF8"));
    }
    int count = 0;
    while((row = bfr.readLine()) != null && count < 30001)
    {
    items[count] = row;
    count++;
    }
    bfr.close();
    }
    catch(Exception e)
    {
    }
    request.getSession().setAttribute("items", items);
    }
    %>
    Last edited by Henmoro; 20-03-14 at 06:34 PM.

  23. #73
    QuoteShiek Member NanayaQ is offline
    MemberRank
    Jul 2012 Join Date
    791Posts

    Re: pwAdmin 151

    @khatvong0702 config:
    Code:
    String db_host = "localhost";
    String db_port = "3306";
    String db_user = "YOUR MYSQL USER";
    String db_password = "YOUR MYSQL PASSWORD";
    String db_database = "YOUR MYSQL DATABASE NAME";
    Make sure you have role table in your perfect world database.

  24. #74
    Member Regano is offline
    MemberRank
    Feb 2012 Join Date
    94Posts

    Re: pwAdmin 151

    I'm really in trouble.

    I can not create an account.
    Roll table is not created.

    Why is that?
    I am able to connect to SQL (database).

    And I get the following error when connecting.

    -----catalina.out-----
    Spoiler:
    Mar 6, 2014 11:21:28 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
    Mar 6, 2014 11:21:29 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Mar 6, 2014 11:21:29 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8089"]
    Mar 6, 2014 11:21:29 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1306 ms
    Mar 6, 2014 11:21:29 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Mar 6, 2014 11:21:29 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.19
    Mar 6, 2014 11:21:29 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory pwAdmin
    java.lang.NullPointerException
    at com.goldhuman.Common.Conf.GetInstance(Conf.java:95)
    at protocol.IwebVersionManager.<init>(IwebVersionManager.java:14)
    at protocol.IwebVersionManager.<clinit>(IwebVersionManager.java:10)
    at StartupServlet.init(StartupServlet.java:86)
    at javax.servlet.GenericServlet.init(GenericServlet.java:160)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1216)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1135)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
    at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
    at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:701)
    iweb.conf version=
    iweb.conf update=,game=
    iweb.conf comment=,buildDate=
    java.lang.NullPointerException
    at protocol.JioConfig.GetInstance(JioConfig.java:100)
    at protocol.IwebVersionManager.<init>(IwebVersionManager.java:29)
    at protocol.IwebVersionManager.<clinit>(IwebVersionManager.java:10)
    at StartupServlet.init(StartupServlet.java:86)
    at javax.servlet.GenericServlet.init(GenericServlet.java:160)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1216)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1135)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
    at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
    at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:701)
    version.conf version=
    version.conf update=,game=
    version.conf comment=,buildDate=
    iweb: 06 Mar 2014 23:21:30,789 INFO - iweb web service startup!
    java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:601)
    at com.goldhuman.IO.ActiveIO.Close(ActiveIO.java:39)
    at com.goldhuman.IO.PollIO.Poll(PollIO.java:60)
    at com.goldhuman.IO.Task.run(Task.java:13)
    at com.goldhuman.Common.ThreadPool.run(ThreadPool.java:48)
    at java.lang.Thread.run(Thread.java:701)
    assoc_session = com.goldhuman.IO.Protocol.Session@4b9ba20 activeio = com.goldhuman.IO.ActiveIO@3d6a8d4c
    DeliveryClientManager reconnect
    DeliveryClientManager::OnAbortSession com.goldhuman.IO.Protocol.Session@4b9ba20
    java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:601)
    at com.goldhuman.IO.ActiveIO.Close(ActiveIO.java:39)
    at com.goldhuman.IO.PollIO.Poll(PollIO.java:60)
    at com.goldhuman.IO.Task.run(Task.java:13)
    at com.goldhuman.Common.ThreadPool.run(ThreadPool.java:48)
    at java.lang.Thread.run(Thread.java:701)
    assoc_session = com.goldhuman.IO.Protocol.Session@e0b5509 activeio = com.goldhuman.IO.ActiveIO@9fbc913
    ClientManager::OnAbortSession,peer=/127.0.0.1:29400
    Mar 6, 2014 11:21:30 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory iweb
    iweb.conf version=
    iweb.conf update=,game=
    iweb.conf comment=,buildDate=
    version.conf version=20120611
    version.conf update=20120611,game=w2i
    version.conf comment=扈呎眠蜉蝮。蠅槫刈謗・蜿」,荳コ螳檎セ主嵜髯・圏鄒惹ソョ謾ケReport2GM・梧キサ蜉aid,line,com_roleid,com_rolename<p>User, GROleStatus,buildDate=20120628172616
    javax.management.InstanceAlreadyExistsException: Counter:type=Protocol
    at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:467)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1519)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:985)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:937)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:330)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:526)
    at com.goldhuman.Common.Counter.<init>(Counter.java:99)
    at com.goldhuman.IO.Protocol.Protocol.<clinit>(Protocol.java:17)
    at StartupServlet.init(StartupServlet.java:88)
    at javax.servlet.GenericServlet.init(GenericServlet.java:160)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1216)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1135)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957)
    at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284)
    at org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:701)
    iweb: 06 Mar 2014 23:21:32,261 INFO - iweb web service startup!
    java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:601)
    at com.goldhuman.IO.ActiveIO.Close(ActiveIO.java:39)
    at com.goldhuman.IO.PollIO.Poll(PollIO.java:60)
    at com.goldhuman.IO.Task.run(Task.java:13)
    at com.goldhuman.Common.ThreadPool.run(ThreadPool.java:48)
    at java.lang.Thread.run(Thread.java:701)
    assoc_session = com.goldhuman.IO.Protocol.Session@6a76000a activeio = com.goldhuman.IO.ActiveIO@68fcc720
    DeliveryClientManager reconnect
    DeliveryClientManager::OnAbortSession com.goldhuman.IO.Protocol.Session@6a76000a
    java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:601)
    at com.goldhuman.IO.ActiveIO.Close(ActiveIO.java:39)
    at com.goldhuman.IO.PollIO.Poll(PollIO.java:60)
    at com.goldhuman.IO.Task.run(Task.java:13)
    at com.goldhuman.Common.ThreadPool.run(ThreadPool.java:48)
    at java.lang.Thread.run(Thread.java:701)
    assoc_session = com.goldhuman.IO.Protocol.Session@744c2b5e activeio = com.goldhuman.IO.ActiveIO@34b363f8
    ClientManager::OnAbortSession,peer=/127.0.0.1:29400
    Mar 6, 2014 11:21:32 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-bio-8080"]
    Mar 6, 2014 11:21:32 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-bio-8089"]
    Mar 6, 2014 11:21:32 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3145 ms
    java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:601)
    at com.goldhuman.IO.ActiveIO.Close(ActiveIO.java:39)
    at com.goldhuman.IO.PollIO.Poll(PollIO.java:60)
    at com.goldhuman.IO.Task.run(Task.java:13)
    at com.goldhuman.Common.ThreadPool.run(ThreadPool.java:48)
    at java.lang.Thread.run(Thread.java:701)
    assoc_session = com.goldhuman.IO.Protocol.Session@36c51c9c activeio = com.goldhuman.IO.ActiveIO@46d961db
    ClientManager::OnAbortSession,peer=/127.0.0.1:29400
    java.net.ConnectException: Connection refused
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:601)
    at com.goldhuman.IO.ActiveIO.Close(ActiveIO.java:39)
    at com.goldhuman.IO.PollIO.Poll(PollIO.java:60)
    at com.goldhuman.IO.Task.run(Task.java:13)
    at com.goldhuman.Common.ThreadPool.run(ThreadPool.java:48)
    at java.lang.Thread.run(Thread.java:701)
    assoc_session = com.goldhuman.IO.Protocol.Session@6518ca7d activeio = com.goldhuman.IO.ActiveIO@3e960865
    DeliveryClientManager reconnect

    .........


    -----catalina.2014-03-06.log-----
    Spoiler:

    Mar 6, 2014 11:21:28 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk-amd64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib/jni:/lib:/usr/lib
    Mar 6, 2014 11:21:29 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Mar 6, 2014 11:21:29 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8089"]
    Mar 6, 2014 11:21:29 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1306 ms
    Mar 6, 2014 11:21:29 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Mar 6, 2014 11:21:29 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.19
    Mar 6, 2014 11:21:29 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory pwAdmin
    Mar 6, 2014 11:21:30 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory iweb
    Mar 6, 2014 11:21:32 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-bio-8080"]
    Mar 6, 2014 11:21:32 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-bio-8089"]
    Mar 6, 2014 11:21:32 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3145 ms
    Last edited by Regano; 21-03-14 at 06:30 PM.

  25. #75
    RaGEZONER fgru is offline
    MemberRank
    Sep 2009 Join Date
    germanyLocation
    1,510Posts

    Re: pwAdmin 151

    spoiler tag plz !!!!



Page 3 of 8 FirstFirst 12345678 LastLast

Advertisement