Shaiya Server: A Few Small Issues

12/01/2012 07:04 diehard6#1
Hello again :)

I'm doing some great work with my server. Almost done with the interface of my client and almost done adding the ep6.3 gears in as GM items. I have a few small problems that are really fucking the entire server up, though. Hoping someone can help.

1. PLH doesn't work. Period. Whenever I use a PLH it steals the lapis and a lucky charm and doesn't link anything. But on the dialogue box it says "linking chance 100%"

2. Every time someone logs out the "Leave" value in PS_GameData_UsersMaster is set to 1. It doesn't change back to 0, therefor every time someone logs out, they can't log back in until I go to the database and change it back.

3. Having trouble with some php scripts....The database information is correct, however the scripts don't function. I know this is difficult to understand....but I can't explain each one. I'll give an example.
I have a PVP rank script. Whenever I open it, it says "no results to display". For the script that checks who is online, it is just blank. I have tried changing the user information, and I have it right. Any suggestions?

4. I also want to add something, and I have no idea how to do it. I don't really want to just put the idea into a public thread, but it is really cool and complicated and I need some help. If you're an experienced DEV and you're serious about helping me with it, add me on skype (coolwier65) and help. It'd be much apprecaited!


Thanks so much in advance!! :)
12/01/2012 07:42 nephren#2
Quote:
Originally Posted by diehard6 View Post
Hello again :)

I'm doing some great work with my server. Almost done with the interface of my client and almost done adding the ep6.3 gears in as GM items. I have a few small problems that are really fucking the entire server up, though. Hoping someone can help.

1. PLH doesn't work. Period. Whenever I use a PLH it steals the lapis and a lucky charm and doesn't link anything. But on the dialogue box it says "linking chance 100%"
i don't know what "PLH" is but: 100% Linking Chance is stored in: ps_game.exe and also need a change at game.exe.
Here is a thread: [Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by diehard6 View Post
2. Every time someone logs out the "Leave" value in PS_GameData_UsersMaster is set to 1. It doesn't change back to 0, therefor every time someone logs out, they can't log back in until I go to the database and change it back.
Please take a look here: [Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by diehard6 View Post
3. Having trouble with some php scripts....The database information is correct, however the scripts don't function. I know this is difficult to understand....but I can't explain each one. I'll give an example.
I have a PVP rank script. Whenever I open it, it says "no results to display". For the script that checks who is online, it is just blank. I have tried changing the user information, and I have it right. Any suggestions?
Please provide logs. Apache-Error Logs etc. It seems like some misconfiguration on your Apache-Server.

Quote:
Originally Posted by diehard6 View Post
4. I also want to add something, and I have no idea how to do it. I don't really want to just put the idea into a public thread, but it is really cool and complicated and I need some help. If you're an experienced DEV and you're serious about helping me with it, add me on skype (coolwier65) and help. It'd be much apprecaited!
You can add things via Updater. Please take a look here:
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...] If you need help with this programs, just feel free to ask.
Or use Shaiya SH Studio.
12/01/2012 08:04 diehard6#3
1. PLH = Perfect Linking Hammer. But I guess I'll just use the 100%. Is there any way to make it...say...90%?

2. Thanks!

3. The apache server has the mssql modules enabled. I don't believe it is an error with apache, because I checked the error logs. There is nothing there.

4. Hmmm....I have shstudio. What I don't understand is how to make the item, make it do something when clicked, and how to add it to a merchant.


Thanks for your reply!
12/01/2012 08:31 nephren#4
No, there is no way because ps_game.exe stops at 50% chance. You have to change ps_game.exe AND game.exe.

--> Scripts:
Did you changed your mssql_connection.php in your scripts ?
would you send me the Link form your website and place
Code:
error_reporting(E_ERROR | E_WARNING | E_PARSE);
in your PVP-Ranks ?

Let's use Clean Hit Nostrum for example:
It's an Item which turned into a Skill. It's stored in Skill.SDATA.
if you take a look at Item.SDATA > ItemID: 10005
in the Colnum "Range" -> 204 , 204 is the Skill which will be used for this Item.

Another example:
Etain Potion -- > 10001 (ItemID) take a look at your Item.SQL
colnums: ConstHP, ConstAP/MP
: 75, 75, 75 which means that this Item will give you 75% of your life, mana and stamina back.

You can add Items on Merchants by using SHStudio and NPCQuest.SDATA.
12/01/2012 08:58 diehard6#5
Website: afwhome.org/php/
12/01/2012 09:03 nephren#6
Object not found.
12/01/2012 09:19 diehard6#7
?
12/01/2012 09:27 nephren#8
your subdirectory /php/ was not found on your Server. - 404 Error-Message.

I need the Link with your scripts which includes the error_reporting ^_^
12/01/2012 15:00 DenyA#9
All php on his website

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
12/01/2012 15:18 TeddyBear94#10
Quote:
Originally Posted by diehard6 View Post
1. PLH = Perfect Linking Hammer. But I guess I'll just use the 100%. Is there any way to make it...say...90%?
yup there is a way. in ps_game u change the stuff that the linkign rate is 50% always now it depend on the linking hammer and on the lapi u link. what u can do is pick a special hammer that makes it 50 or which is more easy. change the linking % of ur lapis to the amount u want but remember that the shown 1-50% of the linking chance in the lapis discription goes toghter with the 50% of the ps_game.exe enabled ones. so u always need to count the linking chances toghter. Like that u can have for different lapis a different linking chance up to 100% linking (that is all meant with an Operators Exclusive ofc ;))
12/01/2012 19:53 diehard6#11
[Only registered and activated users can see links. Click Here To Register...]

This is the directory....10.0.0.12 is the local network IP of my dedi and the web address for my network is afwhome.org

So afwhome.org/php should work just fine...:/
12/01/2012 22:06 nephren#12
So your Domain afwhome.org, points to 10.0.0.12 , right?
i can not check it right now because i am at work.

Please take care of your php directory.
Just use .htaccess because an evil visitor can use some scripts for bad things.
12/01/2012 22:20 diehard6#13
The directory is fine. You should be able to open it...just fine. The scripts aren't working, therefor nobody could use them =P
12/02/2012 01:22 nephren#14
If you talking about "local"-IP only people in your Network can open it.
I also can't open 10.0.0.12 - I don't know from which Company this IP is, but it looks like Hamachi. So please share your scripts for everyone (public) or send me a private message with your Address, because I won't join Hamachi. - Sorry
12/02/2012 07:14 diehard6#15
It's not Hamachi. And I'm not a networking novice. 10.0.0.12 is the internal network IP for one of my dedis (the one hosting shaiya and the web server). The external IP of my router is controlled by afwhome.org and the directory /php is there and intact. I'm not sure what issue you are having getting there, but I assure you it isn't a problem on my end. If you'd like to add me on Skype or something, I could send you the files or you could try them out.

Thanks!!