|
You last visited: Today at 16:02
Advertisement
need minor help in my test server
Discussion on need minor help in my test server within the Rappelz forum part of the MMORPGs category.
05/18/2011, 06:54
|
#1
|
elite*gold: 0
Join Date: Apr 2011
Posts: 52
Received Thanks: 1
|
need minor help in my test server
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
|
#2
|
elite*gold: 0
Join Date: Dec 2010
Posts: 663
Received Thanks: 191
|
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
|
#3
|
elite*gold: 0
Join Date: Apr 2011
Posts: 52
Received Thanks: 1
|
yeah i know what php is,
|
|
|
05/18/2011, 07:42
|
#4
|
elite*gold: 0
Join Date: Apr 2011
Posts: 52
Received Thanks: 1
|
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
|
#5
|
elite*gold: 0
Join Date: Dec 2010
Posts: 663
Received Thanks: 191
|
php is the best language to work with mssql. it's fast, flexible and efficient to work with.
|
|
|
05/18/2011, 10:23
|
#6
|
elite*gold: 0
Join Date: May 2011
Posts: 18
Received Thanks: 0
|
private server? id be interested to find out some info bout it
|
|
|
05/19/2011, 02:31
|
#7
|
elite*gold: 0
Join Date: Mar 2008
Posts: 939
Received Thanks: 517
|
Quote:
Originally Posted by darkside4125
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
php is the best language to work with mssql. it's fast, flexible and efficient to work with.
|
true
|
|
|
05/19/2011, 05:34
|
#8
|
elite*gold: 0
Join Date: May 2011
Posts: 59
Received Thanks: 16
|
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 **** 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
|
#9
|
elite*gold: 0
Join Date: Apr 2011
Posts: 52
Received Thanks: 1
|
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
|
#10
|
elite*gold: 0
Join Date: Mar 2008
Posts: 939
Received Thanks: 517
|
ya ill pm but hv acess isnt possable yet buffs are tho
|
|
|
05/19/2011, 22:28
|
#11
|
elite*gold: 0
Join Date: Mar 2008
Posts: 939
Received Thanks: 517
|
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
-- Lua ½ºÅ©¸³Æ® ¾ÏÈ£È*
function get_module_name()
return "on_login"
end
function on_login( name )
-- ±¹°¡ ÄÚµå Àоî¿À±â
-- get_local_info()ÀÇ ¹Ýȯ°ªµé
--LOCAL_INFO_KOREA = 1
--LOCAL_INFO_HONGKONG = 2
--LOCAL_INFO_AMERICA = 4
--LOCAL_INFO_EUROPE = 8
--LOCAL_INFO_JAPAN = 16
--LOCAL_INFO_TAIWAN = 32
--LOCAL_INFO_CHINA = 64
local race = get_value( "race" )
local state_code = get_local_info()
if get_value( "permission" ) == 0 then
add_state(1051, 15, 8640000)
add_state(1052, 15, 8640000)
add_state(1053, 15, 8640000)
add_state(1054, 15, 8640000)
add_state(1055, 15, 8640000)
add_state(1056, 15, 8640000)
add_state(1057, 15, 8640000)
return
end
-- Á÷¾÷ÀÌ ¾ø´Â ij¸¯Àº »õ·Î¸¸µç ij¸¯À̹ǷΠÃʱ⼳Á¤
if get_value( "job" ) == 0 then
on_first_login( name )
-- ±âÁ¸ ij¸¯ÅÍÀÏ ¶§, ±¹°¡ ÄÚµå=64(Áß±¹)¸¸ ±¤°í È*¸é ÆË¾÷
else
if state_code == 64 then
open_popup("game.advertise_url",0,0)
end
end
-- ±ÍȯÁö¿ª ¾ø´Â Ç÷¹À̾î´Â ±ÍȯÁö¿ª ¼³Á¤.
local temp_rx = get_flag( "rx" )
local temp_ry = get_flag( "ry" )
if temp_rx == "" or temp_ry == "" then
if race == 4 then
-- µ¥¹Ù ±ÍȯÁö¿ª ¼³Á¤
set_flag( "rx", 7250 + math.random(0,100))
set_flag( "ry", 6959 + math.random(0,100))
elseif race == 5 then
-- ¾Æ¼ö¶ó ±ÍȯÁö¿ª ¼³Á¤
set_flag( "rx", 116542 + math.random(0,100))
set_flag( "ry", 58190 + math.random(0,100))
else
-- °¡ÀÌ¾Æ ±ÍȯÁö¿ª ¼³Á¤
set_flag( "rx", 152742 + math.random(0,100))
set_flag( "ry", 77401 + math.random(0,100))
end
end
-- ¿ÀÅä·Î ¼¼ÆÃµÈ ij¸¯ÅͶó¸é Àú ¸Ö¸® ³¯·Á ¹ö¸®ÀÚ~
kick_auto_to_another_world()
-- ¼ö·ÃÀÚ ¼¶¿¡ ÀÖ´Â ¿ÀÅäµéÀº º»Åä·Î ³¯·Á ¹ö¸®ÀÚ
local current_x = gv("x")
local current_y = gv("y")
if current_x >= 161280 and current_x <= 177408 then
if current_y >= 48384 and current_y <= 64512 then
local is_auto, quest_count
quest_count, is_auto = anti_auto_quest_check()
if is_auto then
if race == 4 then
RunTeleport_Auto_TO_City( 6625 , 6980 )
elseif race == 5 then
RunTeleport_Auto_TO_City( 116799 , 58205 )
else
RunTeleport_Auto_TO_City( 153506 , 77175 )
end
end -- if is_auto then
end -- if current_y >= 48384 and current_y <= 64512 then
end -- if current_x >= 161280 and current_x <= 177408 then
end
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?
if get_value( "permission" ) == 0 then
would be changed to
if get_value( "permission" ) == 1 then
if u wanted it to only function for gms
|
|
|
05/20/2011, 01:22
|
#12
|
elite*gold: 0
Join Date: May 2011
Posts: 59
Received Thanks: 16
|
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 
my post here, regarding a nice temporary fix to access HV.
|
|
|
05/20/2011, 01:31
|
#13
|
elite*gold: 0
Join Date: Mar 2008
Posts: 939
Received Thanks: 517
|
ya i corrected that thnx for pointing it out.
typing quick and checking work is a must
|
|
|
05/20/2011, 01:40
|
#14
|
elite*gold: 0
Join Date: May 2011
Posts: 59
Received Thanks: 16
|
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
|
#15
|
elite*gold: 0
Join Date: Jun 2010
Posts: 35
Received Thanks: 0
|
someone know what is the password and username to enter in private server?
|
|
|
 |
|
Similar Threads
|
Minor Complications
03/12/2011 - CO2 Private Server - 5 Replies
Error 1: Not all code paths return a value
public bool SetProficiency(Proficiency prof)
Error 2: Proficiency is used like a type
public Dictionary<ushort, Proficiency> Proficiency = new Dictionary<ushort, Proficiency >(50);
Error 3: Could not be found (Possibly due to Error 1)
Client.SetProficiency(new Proficiency(ushort.Parse(args), ushort.Parse(args), 0));
I know they're retarded problems but i'm trying to learn, thanks.
|
A few minor problems
05/06/2010 - Dekaron Private Server - 0 Replies
Ok I have my server up and running and starting to look really good but I have a few minor issues to work out and I am posing the questions to the one comunity I know can answer them...:)
1 - I changed some NPC locations and added some npc's to loa mostly for convienience. Now the NPC's show up and work correctly however their marker on the map still shows their old location or no location at all. What i mean is the little boxes that if you hover over them they show the name of the npc....
|
some minor problems
02/25/2010 - EO PServer Hosting - 1 Replies
Eudemons AccountServer has stopped..... the acount server doesent want to conneced now the mysql is up and running but the account server dont want to link with it i was wondering if someone can tell me a way to get it running.
|
minor bugs in p-server really annoying
06/29/2009 - Conquer Online 2 - 0 Replies
i followed playboy94's p-server guide
http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/201216-guide-powersource-setup-ma de-easy.html
easy enuff ok so theres a problem when i log on its in like super high res and like sky on the right side of the screen (video card i know)
had this prob in rl co fixed it by hitting regular instead of high def
this one uses CIDloader.exe
umm ok how do i open conquer in low res
i've looked through cfg files and ini.s cant find anything...
|
Need some minor help
12/29/2007 - Archlord - 5 Replies
Could anyone of U inform me of the Server Ip's?
I think each server has it's own Ip...
Can anyone post em here?
Thx allot ;)
Maybe I can get the dupe hack to work...
|
All times are GMT +1. The time now is 16:03.
|
|