Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Basic VB edits


Dawntide
 Share

Recommended Posts

Hey,

How to edit basic things like the name of the currency? when i change the caption of the GoldLabel with the text "0g" there is no change at all after i save and compile it.

When i want to change the icon of the Main frame, i get the error "invalid picture", my desctop icon is 32x32 .ico file.

thanks!
Link to comment
Share on other sites

1\. Can't find any way to change currency name, i searched everywhere with the words "currency" and "gold".

2\. What is about the very limited space for Item names? i cant even name an item "stone of ultimate destruction", because it is so limited.

3\. Whats wrong with the "Change Sprite" thing in the character creation? It is just a label without any function.

4\. Why are there Pictureboxes in the Option Picturebox around the Optionsboxes? Are they necessary? How to configure them to limit the placement of the optionsboxes like it is on default?
Link to comment
Share on other sites

1\. I just searched for gold (client-side, entire project) and was able to find the relevant code right away.

2\. Change
```
Public Const NAME_LENGTH As Byte = 20

```
Then delete or convert all your files.

3\. It has function. If multiple sprites are allowed in the classes.ini, it will change between those. To see what I mean, select a female Magician and then press "Change Sprite".

4\. Organization. No. I don't understand the rest of the question.
Link to comment
Share on other sites

@Dawntide:

> thanks, what do you mean with "Delete files". All files? Not only the items?
>
> how to convert them, i do not want to delete everything!

Well, if you only want to delete the items, do the following client **and** server-side:

Under:
```
Private Type ItemRec
    Name As String * NAME_LENGTH

```
Change NAME_LENGTH to however long you want to allow the item names to be. So if I wanted a 40 character name length, I would change the above to:

```
Private Type ItemRec
    Name As String * 40

```
Do this both client and server-side, then compile and delete your items.
Link to comment
Share on other sites

Okay and if i want to change it for everything.

1.How to do it?
2.what do you need to delete then, in my server folder i got for example item1.dat to item255.dat, do you need to delete all these files then?

3\. I am translating the whole Engine to my native language, but i can't find a few things:

-The yes and no button of  party invite
-The accept and decline button of trade
-party disbanded chat message

I can not find it with Search neither.

thanks in advance, awesome support!
Link to comment
Share on other sites

1) modTypes Itemrec npcRec and SpellRec
2) Server side\data\items & spells and npc's
If you don't feel like deleting then make a converter
3) If you mean the text of the button's they are actually pics. They can be found at client side\data files\graphics\gui\main
Link to comment
Share on other sites

What a converter basically does is it takes old types from the old items and then save them along with the new types. There is a map converter [here.](http://www.touchofdeathforums.com/smf2/index.php/topic,81817.0.html) Use it as a base and then make one. PM me if you want help.
Link to comment
Share on other sites

Okay, i will at least give it a try.

How to change the Face which shows up on the Character Screen? I already got them implemented in the character creation with this tutorial:
http://www.touchofdeathforums.com/smf2/index.php/topic,73720.0.html
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...