Quote:
Originally Posted by Drmzindec
MSSQL TCP/IP and port error would make this not load. Have you enabled and added you new ip? Without this it wont load.
Also ive noticed (I am also Guilty) that patience is a key tool for setting up this server, wait a while for things to load (Especially if your pc doesnt have good specs - Atleast 4gig Ram and 2.5Ghz dula core CPU).
I am still having problems adding items to the market place, anyone know how this works yet? I have changed it in so many places but it never loads. (Instead i added items i wanted to an npc). Regarding this, has anyone tried adding Hades' Feather (M) to the market? I cant find it in the item.slk list <-- (Pissing me off so bad!).
I will probably start coding and testing my register page today and when done i will share it.
|
What new IP do you speak of, and what do you mean by enable? Enable as in open ports for the IP? Also, I'm a bit confused as to which of these IPs I should be using for Windows..
This is what I have been using, and is the IP given to Windows by my routers DHCP:
But there is also this IP which seems to be linked to VirtualBox:
My computer gets it's internet connection through a wireless connection, if that means anything.
Also,
Hades' Feather (M) is 36473, and the male Hades' set is called Minos Outfit/Feather in item.slk. How I found this out:
1. Open
/GameServer/Slk/Script/ItemScript.slk
2. Ctrl + F, and search for Hades' Blessing (M)
3. Column 'B' tells you the items script location in the 'GameServer' folder, in this case it is '
/GameServer/Script/US/blessing_of_hades_52107.s'
4. Open '
blessing_of_hades_52107.s' and scroll to bottom to see the two rarest drops item IDs. (the two rarest drops being the outfit & feather)
If people are still needing to know about
changing drop rates on things like Hades' Blessing for example, simply make the following changes and it should work:
blessing_of_hades_52107.s (original)
//****************************************
//
// Copyright:PERFECT WORLD
// Modified:2010/01/22
// Author: ??
// TaskName:blessing_of_hades_52107.s
// TaskID:??????
//
//****************************************
function OnUseItem(){
$nullitem = GetPlayerInfo( -1, "nullitem", 0 )
$nullitem2 = GetPlayerInfo( -1, "nullitem", 1 )
//??????????
if $nullitem < 1
BC( "screen", "player", -1, "Insufficient space in your bag!" )
return
endif
//????????????
if $nullitem2 < 1
BC( "screen", "player", -1, "Insufficient space in your material bag!" )
return
endif
//???????
$del = SubPlayerInfo( -1, "item", 52107, 1 )
//??????????
if $del == 0
//?????? 5600
$no = RandomNumber(1, 10000)
if $no <= 5600
AddPlayerInfo( -1, "item", 5, 1 )
endif
//???? 1600
if $no > 5600
if $no <= 7200
AddPlayerInfo( -1, "item", 63365, 1 )
endif
endif
//?????? 1500
if $no > 7200
if $no <= 8700
AddPlayerInfo( -1, "item", 63422, 1 )
endif
endif
//????? 510
if $no > 8700
if $no <= 9210
AddPlayerInfo( -1, "item", 2222, 1 )
endif
endif
//?????? 300
if $no > 9210
if $no <= 9510
AddPlayerInfo( -1, "item", 20273, 1 )
endif
endif
//????? 300
if $no > 9510
if $no <= 9810
AddPlayerInfo( -1, "item", 64245, 1 )
endif
endif
//??????? 100
if $no > 9810
if $no <= 9910
AddPlayerInfo( -1, "item", 63558, 1 )
endif
endif
//????? 50
if $no > 9910
if $no <= 9960
AddPlayerInfo( -1, "item", 64246, 1 )
endif
endif
//????? 30
if $no > 9960
if $no <= 9990
AddPlayerInfo( -1, "item", 64247, 1 )
endif
endif
//????? ? 5
if $no > 9990
if $no <= 9995
AddPlayerInfo( -1, "item", 36473, 1 )
endif
endif
//????? ? 5
if $no > 9995
if $no <= 10000
AddPlayerInfo( -1, "item", 36471, 1 )
endif
endif
endif
}
blessing_of_hades_52107.s (modified)
//****************************************
//
// Copyright:PERFECT WORLD
// Modified:2010/01/22
// Author: ??
// TaskName:blessing_of_hades_52107.s
// TaskID:??????
//
//****************************************
function OnUseItem(){
$nullitem = GetPlayerInfo( -1, "nullitem", 0 )
$nullitem2 = GetPlayerInfo( -1, "nullitem", 1 )
//??????????
if $nullitem < 1
BC( "screen", "player", -1, "Insufficient space in your bag!" )
return
endif
//????????????
if $nullitem2 < 1
BC( "screen", "player", -1, "Insufficient space in your material bag!" )
return
endif
//???????
$del = SubPlayerInfo( -1, "item", 52107, 1 )
//??????????
if $del == 0
//?????? 5600
$no = RandomNumber(1, 10000)
if $no <= 5600
AddPlayerInfo( -1, "item", 5, 1 )
endif
//???? 1600
if $no > 5600
if $no <= 7200
AddPlayerInfo( -1, "item", 63365, 1 )
endif
endif
//?????? 1500
if $no > 7200
if $no <= 8700
AddPlayerInfo( -1, "item", 63422, 1 )
endif
endif
//????? 510
if $no > 8700
if $no <= 9210
AddPlayerInfo( -1, "item", 2222, 1 )
endif
endif
//?????? 300
if $no > 9210
if $no <= 9510
AddPlayerInfo( -1, "item", 20273, 1 )
endif
endif
//????? 300
if $no > 9510
if $no <= 9810
AddPlayerInfo( -1, "item", 64245, 1 )
endif
endif
//??????? 100
if $no > 9810
if $no <= 9910
AddPlayerInfo( -1, "item", 63558, 1 )
endif
endif
//????? 50
if $no > 9910
if $no <= 9960
AddPlayerInfo( -1, "item", 64246, 1 )
endif
endif
//????? 30
if $no > 9960
if $no <= 9990
AddPlayerInfo( -1, "item", 64247, 1 )
endif
endif
//????? ? 5
if $no > 1
if $no <= 10000
AddPlayerInfo( -1, "item", 36473, 1 )
endif
endif
//????? ? 5
if $no > 1
if $no <= 10000
AddPlayerInfo( -1, "item", 36471, 1 )
endif
endif
endif
}
If you look at the bottom of the modified script, you'll see I set both Hades' Outfit and Hades' Feather to drop when
any number between 1 and 10000 is generated. Seeing how the lowest number that can be generated is 1 and the highest is 10000, they will be dropped every time the box is open. I don't recommend using those specific chances as they could cause issues (dropping two items at the same time) but that's the idea of increasing their drop rates. If you wish to narrow the gap between numbers being generated, simply change this:
Code:
[B]$no = RandomNumber(1, 10000)
[/B]
To something like this (just an example):
Code:
[B]$no = RandomNumber(1, 500)[/B]
That would make it generate a number between 1-500 instead of 1-10000.
What the items like Blessings and Zodiac cards do is randomly generate a number between 1 and another number every time you open one. What item you get, as you can see in the script, is dependent on what number is generated. In Hades' Blessing (M)'s case, the Feather (very bottom) will only drop if it generates a number between 9995 and 10000. If you change the 'if $no >' line's value to the smallest possible number, then essentially you could make it so your players would get Hades' Feather every time they open it.
I'd appreciate it if somebody could try this and verify that it works. I have yet to get my server working so I can't try it myself, but it's only logical that it would work.