i am trying to create a custom race verbs which will allow player to upload icons to game as well as save them in directory any help?
Edit:* I even tried using fcopy but no luck
ID:154996
Oct 15 2011, 1:41 am
|
|
Some more information would be nice. Do you mean to ask how to upload an icon to use in your own custom race, or upload it to a database so others can download it themselves?
Here's an example of using a custom icon in a race: mob/verb/Custom_Race() Really basic example, but it works. |
In response to Shaoni
|
|
i know basics but i want to know how to get a file from usr pc to server machine and save it in a folder
|
In response to Hassanjalil
|
|
Hassanjalil wrote:
i know basics but i want to know how to get a file from usr pc to server machine and save it in a folder The only way i think that possible is using fcopy. The following code seemed to work for me, so im not sure where it was going wrong for you: mob That will stick the file in the main code directory. Applying it to what you want would be simple enough. mob/verb/Custom_Race() |
The rest is a variation of how you want to go about getting it to this directory.
Custom race verbs are just a matter of controlling mob type (Or hiding them as procs)