"Server/PostBox" and "물품 교부처(itempost.npc)" would like to know how to use.
Printable View
"Server/PostBox" and "물품 교부처(itempost.npc)" would like to know how to use.
Often called "Item Distributor", typically titled "Post Master".
To share items a file must be created with the name of the UserID and extension ".dat". It must be located in <server>\PostBox\<UIDCode>.
Example for "bobosobol" UserID with server installed in D:\PTServer would be "D:\PTServer\PostBox\82\bobsobol.dat".
I have a fighter called "Noobie", to distribute a "Stone Axe" to him with the message "Gratz" the file should look like this:-First is character, then item ID, then Class "spec" (1 for fighter spec) then the message between "quotation marks". :wink:Code:Noobie WA101 1 "Gratz"
You can add more lines to distribute items to many characters on the same User ID, or many items to the same character.
There is a program made by nguyenbason which can be used here, but it only allows you to add 1 item per player. :(:
It was old, and the link was dead, so I attached a copy I've had for years to the original post.
--- EDIT ---
To calculate UserID code is something like:-But user ID should be all one case. [strike]I can't remember if it should be upper, or lower case.[/strike] (bobsobol = 82, BOBSOBOL = 82 ... other names are not so) :lol:Code:Dim As String ID
Dim As Integer Code, n
Input "Name: ", ID
Code = 0
For n = 1 to Len(ID)
Code = Code + Asc(UCase(Mid(ID, n, 1)))
Next n
Code = Code Mod 256
Print Code
--- EDIT2---
Corrected. The name should be UPPER CASE.
The same calculation is done to get the player .dat files in DataServer. :wink: (User .dat and .war files too)
I've attached the source and executable of that code, coz it's just kinda useful.
Oop... Credit! It was Gregoo who answered that question for me.
Spoiler:
Thank you for your help to me♡