USE [RohanGame]
GO
/****** Object: StoredProcedure [dbo].[ROHAN_EndGame] Script Date: 04/28/2014 10:02:06 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER PROCEDURE [dbo].[ROHAN_EndGame]
@char_id int
AS
set nocount on
declare @level int
declare @ctype int
declare @play_sec int
declare @ret int
--아이템 가상 처리
update titem set type = @char_id where id = 0
update tcharacterlogin set
last_date = getdate()
,login = 0
where char_id = @char_id
select @level = [level]
from tcharacterability
where char_id = @char_id
select @ctype = [ctype_id]
from tcharacter
where id = @char_id
if(@level >= 50) and (@ctype= 196993)
begin
update tcharacter set ctype_id = 196994 where id = @char_id
end
if(@level >= 50) and (@ctype= 196869)
begin
update tcharacter set ctype_id = 196870 where id = @char_id
end
if(@level >= 50) and (@ctype= 197133)
begin
update tcharacter set ctype_id = 197134 where id = @char_id
end
if(@level >= 50) and (@ctype= 197257)
begin
update tcharacter set ctype_id = 197258 where id = @char_id
end
if(@level >= 50) and (@ctype= 197653)
begin
update tcharacter set ctype_id = 197654 where id = @char_id
end
if(@level >= 50) and (@ctype= 197777)
begin
update tcharacter set ctype_id = 197778 where id = @char_id
end
if(@level >= 50) and (@ctype= 198685)
begin
update tcharacter set ctype_id = 198686 where id = @char_id
end
if(@level >= 50) and (@ctype= 198809)
begin
update tcharacter set ctype_id = 198810 where id = @char_id
end
if(@level >= 50) and (@ctype= 200741)
begin
update tcharacter set ctype_id = 200742 where id = @char_id
end
if(@level >= 50) and (@ctype= 200865)
begin
update tcharacter set ctype_id = 200866 where id = @char_id
end
if(@level >= 50) and (@ctype= 204845)
begin
update tcharacter set ctype_id = 204846 where id = @char_id
end
if(@level >= 50) and (@ctype= 204969)
begin
update tcharacter set ctype_id = 204970 where id = @char_id
end
if(@level >= 50) and (@ctype= 229437)
begin
update tcharacter set ctype_id = 229438 where id = @char_id
end
if(@level >= 50) and (@ctype= 229561)
begin
update tcharacter set ctype_id = 229562 where id = @char_id
end
select @play_sec = play_sec
from TCharacterLogin
where char_id = @char_id
Auto changejob REquest 04/08/2014 - Rohan - 1 Replies anyone who can share how to autochangejob just reconnectiong i saw one here it says
"this i set for auto job change lv 50 (relogin for change job)
"RohanGame>Programmability>System Stored Procedures>ROHAN_EndGame" "
what should i edit there?
changejob WAAT-Files 08/30/2013 - Nostale - 8 Replies Hello, I would like to know how I do to add a NPC to change class ^ ^ Thank you for answering me :)
Thank you much for its files to Elektrochemie gold <3
About fast-changejob 03/12/2012 - Flyff Private Server - 1 Replies My fast-changejob popup window, I accidentally closed off, how can trigger it pop up again?
[Source Frage] Changejob 07/19/2011 - Flyff Private Server - 11 Replies Hallo Epvpers ich hab mal ne frage zur Source, ich hab das hier gefunden
// ˬ: hacked
/*
int nJob;
BOOL bGamma = TRUE;
ar >> nJob;
ar >> bGamma;
CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser );
[RELEASE]FlyFF Web ChangePass,ChangeJob,Reset Posi,Buffs Script 01/09/2010 - Flyff PServer Guides & Releases - 10 Replies Put this to your web server.
Simple Panel
This script have changepass,changejob, buffs,reset position.
Edit config.php by yours
Download Here
Credits: 100% pat2331647 for sharing this.