need minor help in my test server

05/18/2011 06:54 darkside4125#1
how do i give all users hv, atm i got a few friends working with me making sure we can find and track down every bug possible, however im trying to give everyone hv for 7 or 14 days how would i do so?
05/18/2011 07:13 RoflcopterGoesSoiSoiSoi#2
create a php script
Code:
$select = mssql_query("SELECT id FROM dbo.Character")or die("Cannot select id from dbo.Character. Error: ".mssql_error());
while($row=mssql_select_aray($select)){
//insert item...
}
if you don't know what php is you shouldn't be running a server.
05/18/2011 07:40 darkside4125#3
yeah i know what php is,
05/18/2011 07:42 darkside4125#4
btw just so you know you dont have to know php to run a good server, i know php but when i ran my ragnarok server i didnt, an my ragnarok server had over 1000 users online daily and was a top server so.. just to let you know that
05/18/2011 09:49 RoflcopterGoesSoiSoiSoi#5
php is the best language to work with mssql. it's fast, flexible and efficient to work with.
05/18/2011 10:23 thatkiddo#6
private server? id be interested to find out some info bout it
05/19/2011 02:31 wisp66#7
Quote:
Originally Posted by darkside4125 View Post
how do i give all users hv, atm i got a few friends working with me making sure we can find and track down every bug possible, however im trying to give everyone hv for 7 or 14 days how would i do so?
are u asking for a login buff system if so thats lua i can do one for u just tell me what buffs u need . there was one posted for gm buffs as well.
buffs is one thing but actually giveing a pass to hv isnt possable as present
Quote:
Originally Posted by RoflcopterGoesSoiSoiSoi View Post
php is the best language to work with mssql. it's fast, flexible and efficient to work with.
true
05/19/2011 05:34 DaJohnson#8
Actually Wisp, i'd be interested in seeing what you have there, I've had a look at the posted on_login LUA, and it looks like it *should* work, however, it doesnt give me a damn buff of any type when i login.

Not bothered to look into it yet, as it's backburner'd while I'm looking into HV access.

Feel free to PM me with it, if you want.
05/19/2011 07:09 darkside4125#9
yeah wisp im trying to make it so when you login each user gets hv 7 days between certain dates kinda like usa does for events
05/19/2011 09:54 wisp66#10
ya ill pm but hv acess isnt possable yet buffs are tho
05/19/2011 22:28 wisp66#11
heres a remake of an exisitng login buff it gives lvl 15 hv buffs*all of them if memory servers me thats the correct lvl's and its for none gm's
make this in to 92aaf4ae4ee42eb41693728da93f301a.lua then drag in to rappelz compress before u add it to resource>scripts server side and client side.
and to make it easier to grasp why for some of you its not working?
would be changed to
if u wanted it to only function for gms
05/20/2011 01:22 DaJohnson#12
Wisp, following your steps exactly, this isnt working for me.

Using AoR client, and jw's base pack.

Also, far as I see it, the:
Code:
if get_value( "job" ) == 1 then
part is not relevant, that appears to simply check yoru dbo.Character table to see if you've not been assigned a job, ie, perfectly fresh player. If so, it runs the new player scripts which seem to setup your start on TI and run the fancy animation when you first login.

Prehaps you meant to put:
Code:
if get_value( "permission" ) == 1 then
which indeed checks to see if its a GM enabled character or not.

*Edit

Also Wisp, take a look at [Only registered and activated users can see links. Click Here To Register...]
my post here, regarding a nice temporary fix to access HV. ;)
05/20/2011 01:31 wisp66#13
ya i corrected that thnx for pointing it out.
typing quick and checking work is a must
05/20/2011 01:40 DaJohnson#14
Wisp, would you mind packaging up your game_bin ?

I can completely remove my on_login.lua, and all works the same. So mine isnt getting loaded/executed at all for some reason. :(

I'd like to compare the two, to see what you have that differs from mine, assuming your using the AoR client aswell.
05/20/2011 01:43 ktsplayer#15
someone know what is the password and username to enter in private server?