[Help Thread] Please post your questions here.

04/08/2015 07:53 bertie2008#4426
[quote=bluedev;31555888]Have you run the smp billing fix ismoke posted?
Is this setting:
T:game.cash_usable_server:1 set to 0?
If I set it to 0, I couldn't see certain NPC's even if the local flag was correct.[/QUOTEe]

Thanks, yes I ran ismoke's billing fix and game.cash_usable_server set to 1

Quote:
Originally Posted by ismokedrow View Post
Then it is most certainly a local_flag issue, make sure to read my how-to closely.
Thanks, I just thought that maybe the 9.1 server had a different setup as I noticed that the npc resource has different columns, will go through your how to again, just a quick one, do some "not used NPC's" in Arcadia not show even if local flag is changed to 0.
04/08/2015 12:57 ThunderNikk#4427
Quote:
Originally Posted by bertie2008 View Post
do some "not used NPC's" in Arcadia not show even if local flag is changed to 0.
It is possible that if you are changing the local_flag you may have to rewrite the rdb file in order for the change to run through to the client.

You have a couple of other options.

1. Use an NPC who is unused but the local_flag is already 0 (not even sure if this is possible local_flag 0 may mean that it is being used.)

2. (This is what I do) Duplicate an NPC who is already being used and has a local_flag of 0 and put them in more than one place. Rappelz does this already for common NPCs that open the same Market resources in more than one place.

I use the Lamia Girl for my markets in all of the towns. (Idea came from Stars file release) In towns I feel that there should be 2 markets I use the abomination girl. (It is cool to have the Lamia girl floating there, ready to sell you all of your cash shop needs.)

The NPC IDs are duplicated that part really does not matter. What matters is the X, Y, Z location of where you put them, and their contact_script.

Using method 2 the only thing I had to do was restart the game servers. I did not need to write an RDB. I didn't even have to write an RDB for market resource after adding all of the shop items.

Hope this helps out.
04/08/2015 19:05 bertie2008#4428
Quote:
Originally Posted by thndr View Post
It is possible that if you are changing the local_flag you may have to rewrite the rdb file in order for the change to run through to the client.

You have a couple of other options.

1. Use an NPC who is unused but the local_flag is already 0 (not even sure if this is possible local_flag 0 may mean that it is being used.)

2. (This is what I do) Duplicate an NPC who is already being used and has a local_flag of 0 and put them in more than one place. Rappelz does this already for common NPCs that open the same Market resources in more than one place.

I use the Lamia Girl for my markets in all of the towns. (Idea came from Stars file release) In towns I feel that there should be 2 markets I use the abomination girl. (It is cool to have the Lamia girl floating there, ready to sell you all of your cash shop needs.)

The NPC IDs are duplicated that part really does not matter. What matters is the X, Y, Z location of where you put them, and their contact_script.

Using method 2 the only thing I had to do was restart the game servers. I did not need to write an RDB. I didn't even have to write an RDB for market resource after adding all of the shop items.

Hope this helps out.
Thanks thndr, I'm sure that's what my problem is, I was most probably lucky that the NPC I previously used was already saved to the client
04/08/2015 19:22 Aurorauser#4429
Ranking system % exp percantage and guild T-sql code know ?
04/09/2015 06:00 Sherock#4430
..

[Only registered and activated users can see links. Click Here To Register...]

it's comes suddenly
some help ?
04/09/2015 15:32 Modamer9#4431
Quote:
Originally Posted by Sherock View Post
..

[Only registered and activated users can see links. Click Here To Register...]

it's comes suddenly
some help ?
Make sure :

1- service is running
or
2- put [YourNameMachine] in server name
04/09/2015 23:51 zackfire96#4432
pleas help this problem Occurs when i have lots of items in my bag -_-"

any Suggestions?

[Only registered and activated users can see links. Click Here To Register...]
04/10/2015 01:02 ThunderNikk#4433
Quote:
Originally Posted by zackfire96 View Post
pleas help this problem Occurs when i have lots of items in my bag -_-"

any Suggestions?
You need to correct your billing SMPs you should refer to the 9.1 guide I am not sure if you are running the 9.1 release but the guide has the billing fixes posted in it.
04/10/2015 14:45 Dark.Gts#4434
Greetings,

I've been trying to bind a skill to an item.
I created an identical copy of the "Large Snowball" item (2000177), linked to the same skill (10010) as the original. I tested the copied item in-game and it worked.
Then I created an identical copy of the linked skill in both SkillResource and SkillStage and linked the new skill to the copied item.
However, now when I test the item in game It fails with the message "You do not have the required skill to use this item."
If I use learn_skill(), both the skill and the item work fine, but learning the skill obviously defeats the point of the item.
While trying to figure this out I've also noticed that, unlike my copied skill, the original skill (10010) doesn't appear to be learnable through learn_skill(), and neither are any of the other skills linked to various scrolls that I've tried.

I'm obviously missing something related to the skill, but I can't seem to find any other tables referencing it.
Any help would be very much appreciated.
04/10/2015 15:19 ThunderNikk#4435
Have you created all of the new RDBs for the client.
04/10/2015 15:25 Dark.Gts#4436
Of course. I think neither the copied item nor the copied skill would have worked at all otherwise.
04/10/2015 15:34 ThunderNikk#4437
If it is a complete copy of item and skill without adding a new ID, you are not changing anything yet but adding a duplicated line.

I am sorry but really all you said was you copied an item and copied it's linked skill. So not knowing if you created new IDs or how you copied these items makes it difficult to say were you went wrong.
04/10/2015 16:14 Dark.Gts#4438
I apologize, I should have added more detail.

- I created a duplicate of the snowball item (2000177) in ItemResource and gave the copy the unused ID 800000000. The ID is the only thing I changed, the rest of the data is identical, meaning 'opt_var1_0' still links to the skill ID 10010, which is the large snowball skill.

- I then exported the ItemResource to RDB, hashed the RDB, put it in the resource folder, started the game and the server, spawned the items 2000177 and 800000000 in my inventory, and both worked fine.

- Next, I created a duplicates of the skill 10010 in SkillResource, SkillFullResource (for export), and SkillStage, changing only the ID of the duplicates to the unused ID 10020, and in ItemResource I changed 'opt_var1_0' from 10010 to 10020 for item 800000000, thereby linking the the duplicate skill to the item.

- After exporting SkillFullResource, SkillStage and ItemResource to RDB and restarting both the game and server,
the duplicate item (800000000) no longer works ("You do not have the required skill to use this item."), unless I learn the duplicate skill via learn_skill(10020), in which case both the new item and the new skill by itself work perfectly fine. I did, however, also notice that the original skill can't be learned by means of learn_skill(10010), which in turn leads me to believe that I have missed some sort of flag/type in another table, but I can't seem to find anything.
04/10/2015 16:44 c1ph3r#4439
Quote:
Originally Posted by Dark.Gts View Post
I apologize, I should have added more detail.

- I created a duplicate of the snowball item (2000177) in ItemResource and gave the copy the unused ID 800000000. The ID is the only thing I changed, the rest of the data is identical, meaning 'opt_var1_0' still links to the skill ID 10010, which is the large snowball skill.

- I then exported the ItemResource to RDB, hashed the RDB, put it in the resource folder, started the game and the server, spawned the items 2000177 and 800000000 in my inventory, and both worked fine.

- Next, I created a duplicates of the skill 10010 in SkillResource, SkillFullResource (for export), and SkillStage, changing only the ID of the duplicates to the unused ID 10020, and in ItemResource I changed 'opt_var1_0' from 10010 to 10020 for item 800000000, thereby linking the the duplicate skill to the item.

- After exporting SkillFullResource, SkillStage and ItemResource to RDB and restarting both the game and server,
the duplicate item (800000000) no longer works ("You do not have the required skill to use this item."), unless I learn the duplicate skill via learn_skill(10020), in which case both the new item and the new skill by itself work perfectly fine. I did, however, also notice that the original skill can't be learned by means of learn_skill(10010), which in turn leads me to believe that I have missed some sort of flag/type in another table, but I can't seem to find anything.
Is this skill in SkillJPResource too? And all values in skilljpresource set to 0?
04/10/2015 16:58 Dark.Gts#4440
Quote:
Originally Posted by c1ph3r View Post
Is this skill in SkillJPResource too? And all values in skilljpresource set to 0?
SkillJPResource doesn't return anything for skill_id = 10010 or any of the other item based skills I've tried, so I did not add anything either.

edit: I tried adding 10020 to SkillJPResource with all values set to 0, it did nothing.