Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[share]JadeEditor
Romulan Offline
Committer and Tester

Posts: 104
Joined: Aug 2011
Reputation: 2
Post: #1
[share]JadeEditor
Well, I know it's a tool for Jade Dynasty but it can open the aipolicy.data server side for Perfect World. It's very useful. It helped me for disable the broadcast message that come from the FC.


Attached File(s)
.zip  JadeEditor.zip (Size: 165.61 KB / Downloads: 128)
(This post was last modified: 08-28-2011 04:00 PM by Romulan.)
08-28-2011 03:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Laeka Offline
Junior Member
**

Posts: 2
Joined: Mar 2011
Reputation: 0
Post: #2
RE: [share]JadeEditor
The data structure PW AI is very complicated, I don't even realize it assumes both the emulator in the system, whether to use mysql for managing intellect ...

Code:
<AIpolicy-ID1 data1="0" data2="1" data3="" data4="" data5="">
      <dataList Count="8" FieldCount="5">
        <Item1 data1="1" data2="2" data3="战斗开始" data4="3" data5="00 00 01">
          <Cond data1="" data2="" data3="" data4="12" data5="02 00 00 00 00 00 00 00 03 00 00 00"/>
          <PolicyList Count="5" FieldCount="5">
            <Item1 data1="6" data2="" data3="(Blob)" data4="12" data5="06 00 00 00 0F 00 00 00 00 00 00 00"/>
            <Item2 data1="4" data2="" data3="(Blob)" data4="12" data5="04 00 00 00 0C 00 00 00 00 00 00 00"/>
            <Item3 data1="4" data2="" data3="(Blob)" data4="12" data5="04 00 00 00 0D 00 00 00 00 00 00 00"/>
            <Item4 data1="4" data2="" data3="(Blob)" data4="12" data5="04 00 00 00 0E 00 00 00 00 00 00 00"/>
            <Item5 data1="2" data2="" data3="Wow! What a nice day!" data4="56" data5="02 00 00 00 2C 00 00 00 57 00 6F 00 77 00 21 00 20 00 57 00 68 00 61 00 74 00 20 00 61 00 20 00 6E 00 69 00 63 00 65 00 20 00 64 00 61 00 79 00 21 00 00 00 00 00 00 00"/>
          </PolicyList>
        </Item1>
        <Item2 data1="1" data2="12" data3="话一" data4="3" data5="00 01 01">
          <Cond data1="" data2="" data3="" data4="16" data5="03 00 00 00 04 00 00 00 00 00 80 3E 03 00 00 00"/>
          <PolicyList Count="2" FieldCount="5">
            <Item1 data1="2" data2="" data3="You are dead, you are so dead!" data4="74" data5="02 00 00 00 3E 00 00 00 59 00 6F 00 75 00 20 00 61 00 72 00 65 00 20 00 64 00 65 00 61 00 64 00 2C 00 20 00 79 00 6F 00 75 00 20 00 61 00 72 00 65 00 20 00 73 00 6F 00 20 00 64 00 65 00 61 00 64 00 21 00 00 00 00 00 00 00"/>
            <Item2 data1="13" data2="" data3="(Blob)" data4="8" data5="0D 00 00 00 00 00 00 00"/>
          </PolicyList>
        </Item2>
        <Item3 data1="1" data2="13" data3="话二" data4="3" data5="00 01 01">
          <Cond data1="" data2="" data3="" data4="16" data5="03 00 00 00 04 00 00 00 00 00 80 3E 03 00 00 00"/>
          <PolicyList Count="2" FieldCount="5">
            <Item1 data1="2" data2="" data3="You can't escape" data4="46" data5="02 00 00 00 22 00 00 00 59 00 6F 00 75 00 20 00 63 00 61 00 6E 00 27 00 74 00 20 00 65 00 73 00 63 00 61 00 70 00 65 00 00 00 00 00 00 00"/>
            <Item2 data1="13" data2="" data3="(Blob)" data4="8" data5="0D 00 00 00 00 00 00 00"/>
          </PolicyList>
        </Item3>
        <Item4 data1="1" data2="14" data3="话三" data4="3" data5="00 01 01">
          <Cond data1="" data2="" data3="" data4="16" data5="03 00 00 00 04 00 00 00 00 00 80 3E 03 00 00 00"/>
          <PolicyList Count="2" FieldCount="5">
            <Item1 data1="2" data2="" data3="Gonna give you a good beating!" data4="74" data5="02 00 00 00 3E 00 00 00 47 00 6F 00 6E 00 6E 00 61 00 20 00 67 00 69 00 76 00 65 00 20 00 79 00 6F 00 75 00 20 00 61 00 20 00 67 00 6F 00 6F 00 64 00 20 00 62 00 65 00 61 00 74 00 69 00 6E 00 67 00 21 00 00 00 00 00 00 00"/>
            <Item2 data1="13" data2="" data3="(Blob)" data4="8" data5="0D 00 00 00 00 00 00 00"/>
          </PolicyList>
        </Item4>
        <Item5 data1="1" data2="15" data3="条件少血1" data4="3" data5="00 00 01">
          <Cond data1="" data2="" data3="" data4="16" data5="01 00 00 00 04 00 00 00 CD CC 4C 3F 03 00 00 00"/>
          <PolicyList Count="3" FieldCount="5">
            <Item1 data1="7" data2="" data3="(Blob)" data4="20" data5="07 00 00 00 00 00 00 00 0F 00 00 00 00 00 00 00 00 00 00 00"/>
            <Item2 data1="10" data2="" data3="(Blob)" data4="12" data5="0A 00 00 00 06 00 00 00 01 00 00 00"/>
            <Item3 data1="2" data2="" data3="What goes around comes around!" data4="74" data5="02 00 00 00 3E 00 00 00 57 00 68 00 61 00 74 00 20 00 67 00 6F 00 65 00 73 00 20 00 61 00 72 00 6F 00 75 00 6E 00 64 00 20 00 63 00 6F 00 6D 00 65 00 73 00 20 00 61 00 72 00 6F 00 75 00 6E 00 64 00 21 00 00 00 00 00 00 00"/>
          </PolicyList>
        </Item5>
        <Item6 data1="1" data2="16" data3="定时器0号" data4="3" data5="01 00 01">
          <Cond data1="" data2="" data3="" data4="16" data5="00 00 00 00 04 00 00 00 00 00 00 00 03 00 00 00"/>
          <PolicyList Count="4" FieldCount="5">
            <Item1 data1="4" data2="" data3="(Blob)" data4="12" data5="04 00 00 00 12 00 00 00 00 00 00 00"/>
            <Item2 data1="4" data2="" data3="(Blob)" data4="12" data5="04 00 00 00 13 00 00 00 00 00 00 00"/>
            <Item3 data1="1" data2="" data3="(Blob)" data4="16" data5="01 00 00 00 3E 00 00 00 0A 00 00 00 02 00 00 00"/>
            <Item4 data1="2" data2="" data3="Blazing Slash!!" data4="44" data5="02 00 00 00 20 00 00 00 42 00 6C 00 61 00 7A 00 69 00 6E 00 67 00 20 00 53 00 6C 00 61 00 73 00 68 00 21 00 21 00 00 00 00 00 00 00"/>
          </PolicyList>
        </Item6>
        <Item7 data1="1" data2="18" data3="龙现" data4="3" data5="00 01 01">
          <Cond data1="" data2="" data3="" data4="16" data5="03 00 00 00 04 00 00 00 00 00 00 3F 03 00 00 00"/>
          <PolicyList Count="3" FieldCount="5">
            <Item1 data1="1" data2="" data3="(Blob)" data4="16" data5="01 00 00 00 05 00 00 00 0A 00 00 00 02 00 00 00"/>
            <Item2 data1="2" data2="" data3="Drake's Ray!!" data4="40" data5="02 00 00 00 1C 00 00 00 44 00 72 00 61 00 6B 00 65 00 27 00 73 00 20 00 52 00 61 00 79 00 21 00 21 00 00 00 00 00 00 00"/>
            <Item3 data1="13" data2="" data3="(Blob)" data4="8" data5="0D 00 00 00 00 00 00 00"/>
          </PolicyList>
        </Item7>
        <Item8 data1="1" data2="19" data3="狂龙" data4="3" data5="00 01 01">
          <Cond data1="" data2="" data3="" data4="16" data5="03 00 00 00 04 00 00 00 CD CC CC 3E 03 00 00 00"/>
          <PolicyList Count="3" FieldCount="5">
            <Item1 data1="1" data2="" data3="(Blob)" data4="16" data5="01 00 00 00 37 00 00 00 0A 00 00 00 00 00 00 00"/>
            <Item2 data1="2" data2="" data3="Raging Heat!!" data4="40" data5="02 00 00 00 1C 00 00 00 52 00 61 00 67 00 69 00 6E 00 67 00 20 00 48 00 65 00 61 00 74 00 21 00 21 00 00 00 00 00 00 00"/>
            <Item3 data1="13" data2="" data3="(Blob)" data4="8" data5="0D 00 00 00 00 00 00 00"/>
          </PolicyList>
        </Item8>
      </dataList>
    </AIpolicy-ID1>

Is only one ai elements...
(This post was last modified: 09-18-2011 09:06 AM by Laeka.)
09-18-2011 09:05 AM
Find all posts by this user Quote this message in a reply
Romulan Offline
Committer and Tester

Posts: 104
Joined: Aug 2011
Reputation: 2
Post: #3
RE: [share]JadeEditor
Why not use XML again like for the npcgen? Tongue Easier than using sql but that's my opinion.
09-18-2011 10:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Laeka Offline
Junior Member
**

Posts: 2
Joined: Mar 2011
Reputation: 0
Post: #4
RE: [share]JadeEditor
Why xml?
Many people use mysql for storing items, NPCs, and this point ...

NPC structure:
Code:
<NPC1 data1="0" data2="1" data3="-2524.99926757813" data4="217.73518371582" data5="4089.20043945313" data6="-0.651833713054657" data7="0" data8="0.758361995220184" data9="0" data10="0" data11="0" data12="1" data13="0" data14="1" data15="1" data16="1" data17="0" data18="0" data19="0" data20="0" data21="" data22="1" data23="">
      <dataList Count="1" FieldCount="21">
        <Item1 data1="7336" data2="1" data3="2000" data4="0" data5="0" data6="0" data7="0" data8="0" data9="0" data10="0" data11="0" data12="1" data13="1" data14="1" data15="0" data16="0" data17="0" data18="0" data19="0" data20="1" data21=""/>
      </dataList>
      <MutexItemList>
        <dataList Count="0" FieldCount="1"/>
      </MutexItemList>
    </NPC1>


<Item1 data1="7336" data2="1" data3="2000" ...
data1 = npcID
data2 = amount
data3 = resp time
(This post was last modified: 09-18-2011 11:21 AM by Laeka.)
09-18-2011 11:08 AM
Find all posts by this user Quote this message in a reply
Dante Offline
Administrator
*******

Posts: 9
Joined: Mar 2011
Reputation: 2
Post: #5
RE: [share]JadeEditor
(09-18-2011 11:08 AM)Laeka Wrote:  Why xml?
Many people use mysql for storing items, NPCs, and this point ...

items = static data set
NPCs = static data set
AIs = dynamic data set

That's the reasion not to use any SQL...

[EDIT]
BTW who the fuck uses a syntax that he need a caption for?! Use the right variable lables instead of 'data1' ... 'datan'
(This post was last modified: 09-18-2011 11:43 AM by Dante.)
09-18-2011 11:41 AM
Find all posts by this user Quote this message in a reply
lzh1104 Offline
Junior Member
**

Posts: 1
Joined: Oct 2011
Reputation: 0
Post: #6
RE: [share]JadeEditor
this is a editor for client data
12-15-2011 02:27 PM
Find all posts by this user Quote this message in a reply
Anubis Offline
Founder
*******

Posts: 115
Joined: Mar 2011
Reputation: 6
Post: #7
RE: [share]JadeEditor
actually it should work on both, as they are the same structure when the version is the same, the older server just use an older version.

In fact, the client can run fine with empty AIPolicy when it does not use public counters
12-15-2011 05:04 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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