Files: Index.php - main/core worker.php - what send the mail, doing background save/load file stuff pwclass.php - most of text/item related data stuff here
How to add new item or addon: - open pwclass.php with any text editor and insert a new array
- note # is data separator
Spoiler:
equipment: ☆☆Gale of the Tiger - item name 20289 - item id in elements.data 16 - this item grade in elements.data 5 - red name color (0,1=normal, 2=blue, 3=green, 4=yellow, 5 = red)
Quote:
$ItemMod[1][1][] = "☆☆Gale of the Tiger#20289#16#5#3";
mat: Feng's Steel Armor - mat item name 15254 - mat id 0 - grade, allways 0 0 - normal color in combobox 20 - max stack 0 - proc type 0 - got no octet
Task dice: Scroll I - item name 7710 - item id 0 - grade, allways 0 0 - normal color in combobox 1972 - quest id what executed when you right click 30 - max stack
Quote:
$ItemMod[4][8][] = "Scroll I#7710#0#0#1972 30 1";
addon: 2079 - addon id from elements.data ([0] column) Att Lv. + * - the addon what will be showed on page if you add to item (* will be replaced with your value) H - this mean addon saved like hexadecimal value (H = reversed hexa octet or F - reversed Float hexa octet) WAJBM - addon filter, this mean this addon available for both 5 item type (weapon, armor, jewel,bless box, ammo) Attack Level - Text for combobox list 38 - for version 38 and above
special: 451 142 1 - 451 is the addon id in first column in elements.data, 142 is the the 1st parameter when u check the id 451 in elements data and 1 is the second parameter, everything from elements.data; Slow: blabla - is the description only for website S - special addon (berserk, gof, bless, purge etc) W - filter character, (W=weapon, A=armor, J=Jewels, B=bless box, M=ammo) Special: Slow - short text for combobox 10 - version number, ex. if version is 40 then addon not visible if you set site to 1.3.6
Quote:
$AddonsS[]="451 142 1#Slow: Chance for slow target#S#W#Special: Slow#10";
Description: Php+javascript (not java like .jsp) based octet editor what also help to understand what octet what do, so also caould say a online octet guide also guide.
Features:
Item Menu: Weapon: Polehammer, Poleaxe, Dual Hammer, Dual Axe, Spear, Polearm, Staff, Mace, Blade, Sword, Dual Blade, Dual Sword, Fist, Claw, Bow, Crossbow, Slingshot, M. Sword, M. Wand, M. Quoit, M. Staff, Dagger, Sphere, Sabre, Schythe Armor: Heavy/Light/Magic Chest/Leg/Boot/Arm, Heavy Helmet, Magic Helmet, Manteau
Jewels: Physical/Dodge/Magical Necklance/Belt, Physical/Magical Ring
Fashion: Top M/F, Pants M/F, Boot M/F, Glove M/F
Other: Flyer, Pet Egg (inc. Mount, Baby, Battle), Bless Box, Elf (=Genie), HP & MP Hiero, Ammo, Ph. Potion, Task Dice, Grass
Utility: Tome, Boost, Util, Chat, Pages, Dye, Firework, Dragon Quest, Pack Rewards, Pet Scroll, Funny, Fuel, Wine & Bloods
*i tested with 1.4.2
**each item category also got item list, elf gear, skill, pet skills, socket stone datas, addons data with id in pwclass.php
Mail Packet System:
- example if you create many custom thing or just want make a group of items what you want send to 1 or more people you can do easily, simple make the predefined settings (like set weapon damage, sockets etc or mat quantify, proctype, mail message, target role id etc) then click to Add Packet button and system register into a temporary list, with all of your settings.
- how can be usefull? lets say you want send 1 or more item to 1 or with more people, then want send all mail with short delays (1sec) then you can do it now, also i have more option what make your life easier, like select/ select all packet option and reset mail target role id/delete the mails/send the mails, can send individually or edit the already saved packet infos and their octets aswell (atm only for weapon)
- Mail Packet save the following informations: role id, Gold what you send via mail, mail title, mail body text, item id, item name, item amount, item max stack, item expire date, item mask, proctype, guid1, guid2, octet and few info what you not use/see (example item type, item subtype etc)
Extras:- Custom proctype for gears
- Individual or multiple mail sending by 1 click
- Wide range for item customization (can change manually most of thing)
- Easier understand the octet structure (breaked into pieces and if you hover over it it's tell what it do)
- Math: can convert Dec, Hex, Hex Float vice-versa, normal-reversed and added also the fixes if its a addon id
- Mail Sending system
- Mail Packet system, more about mail packets above.
- Auto Packet loading from file and option for save selected items.
- easy socket/elf skill/elf gear/pet skill adding
- Expiration timer (can set item duration to x min, hour or day, ex. item expire in 5 min) *Tested on firefox, opera, chrome [linux & android]* *This tool mainly created for 1.4.2 but i guess could work with different version aswell
poorly coded but meh can't complain.. at least you done something useful
13-03-17
shadowvzs
Re: Advanced Octet Editor v1 [PHP, Mailer, Guide]
Quote:
Originally Posted by Calas
poorly coded but meh can't complain.. at least you done something useful
any tip welcome what improve the tool :p
Version 1.1 btw added
- math conversion function
- expire timer settings
- save load item stuffs (decode the octets if you double click to your saved item on item list etc)
- packet data changeing (contain 15 data from item, you can change most of them)
- packet tooltip rearranged (if you hover over packet on list)
- alot minor fixes :)
Version 1.1 btw added
- math conversion function
- expire timer settings
- save load item stuffs (decode the octets if you double click to your saved item on item list etc)
- packet data changeing (contain 15 data from item, you can change most of them)
- packet tooltip rearranged (if you hover over packet on list)
- alot minor fixes :)
*added the RoleName to ID conversion and download link renewed
17-03-17
shadowvzs
Re: Advanced Octet Editor v1 [PHP, Mailer, Guide]
changed the minimum valid roleid from 1024+ => 16+ (included 16)
added a mini guide about How to add new addon/item
28-03-17
shadowvzs
Re: Advanced Octet Editor v1 [PHP, Mailer, Guide]
Since i got no report about bugs and this project look like done, i continue my website with this project implentation+adding few feature like Authentification, Web Shop, when i am done, you can found here. [Web mainly aimed to older version like 141]
Be careful with the buy function in WebShop, depending on how you handle it, the user can buy 10 weapons for the price of 1.
29-03-17
shadowvzs
Re: Advanced Octet Editor v1 [PHP, Mailer, Guide]
Quote:
Originally Posted by w3bm4ster
Be careful with the buy function in WebShop, depending on how you handle it, the user can buy 10 weapons for the price of 1.
if you mean to the rapid click then no, that will work same way like this Adv OCtet Editor...
Don't you noticed with this tool you can send how much packet you want with simple click?
you select the packets like in your email inbox, click to send and it will be sent 1 by 1 and still i doubt you can abuse...
How this work?
with hidden iframe and a worker php file in background, when you click to send button or start send multiple mail sending the client 1st change a boolean variable what will block your next sending until current mail not sent or not failed (failed if server off or bad settings), when mail sending progress done or failed the mail sending it change back the boolean variable from server worker.php in client side so you can send item again...
this way could avoid the dublication and indifferent if sending mail progress takes 5 second or 1 milisecond.
before this methode anyway was chance if you click damn fast and server is slow then maybe not every sending executed since page in iframe with worker.php refreshed faster then it was able to reach till the sending progress but this was fixed with methode above with boolean.
29-03-17
GiantAxe
Re: Advanced Octet Editor v1 [PHP, Mailer, Guide]
I don't think he ment clicking the button really fast, more like.
Someone pressing F12, opening developer options.
Manually edits your item in html and posts the modified html.
29-03-17
shadowvzs
Re: Advanced Octet Editor v1 [PHP, Mailer, Guide]
Quote:
Originally Posted by GiantAxe
I don't think he ment clicking the button really fast, more like.
Someone pressing F12, opening developer options.
Manually edits your item in html and posts the modified html.
well, server side will check if item pack data (octet, proctype, price etc) is same than the saved item, so until someone can't edit the server side files, this could be hard
Yesterday tested on 1.5.3 and work same well, so I guess this work to any pw version
13-04-17
w3bm4ster
Re: Advanced Octet Editor v1 [PHP, Mailer, Guide]
I know two type of cheat WebShop/Vote/Withdraw:
- Auto Click
- Open the panel in mobile and PC and click in the buy button at the same time.
It's pretty much the same. Respectively you get two items for the price of one / if you have 10 credits you can earn 100 even have just 10.
You can follow this pattern to prevent this:https://en.wikipedia.org/wiki/Post/Redirect/Get
Example: In a production server can be extremely harmful.