Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 02:40

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]Edit items which character has from beginning.

Discussion on [HELP]Edit items which character has from beginning. within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
[HELP]Edit items which character has from beginning.

I want to edit the items which character has from beginning.

I mean when I create a character, some items added from the beginning.
Then, the character equips weapon, armor and bag already when I start the game as you know usually.

I'm using 8.1 server file with Arcadia and Telecaster but when I start the game with new character, the character has +20 weapons and armors. I don't want to do that so I would like to change +20 to normal (+0) or changing the other items. Also, the character has 30days Hidden Village Pass and HV Premium status so I want to remove the status too.

Well, I know how to add items with lua but I don't know how to edit it so please anyone help me...
I guess it is possible to edit them in Telecaster but I don't know how so.

Thank you very much.
hiderian is offline  
Old 03/04/2013, 20:49   #2
 
elite*gold: 0
Join Date: Jul 2011
Posts: 113
Received Thanks: 87
I don't know but maybe have a look at dbo.smp_insert_character, near the end of the script .........
Ne0@NCarbon is offline  
Old 03/04/2013, 21:27   #3
 
elite*gold: 0
Join Date: Sep 2011
Posts: 52
Received Thanks: 2
on_first_login.lua
dont make other useless threads
cs189 is offline  
Old 03/04/2013, 22:32   #4
 
elite*gold: 0
Join Date: Aug 2012
Posts: 10
Received Thanks: 4
Quote:
Originally Posted by cs189 View Post
on_first_login.lua
dont make other useless threads
Lol, read before posting useless ****

@TE sorry, don't know ^^
xxexx is offline  
Old 03/05/2013, 15:36   #5
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
Quote:
Originally Posted by Ne0@NCarbon View Post
I don't know but maybe have a look at dbo.smp_insert_character, near the end of the script .........
Thank you very much. I solved this problem with dbo.smp_insert_character.

However, still not solve Hidden Village problem.

I don't know how to remove HV 30 days pass and HV state from beginning.
I checked all smp but cannot solve and also lua too.

Does anyone help me please? Thank you.
hiderian is offline  
Old 03/05/2013, 23:43   #6
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,862
Received Thanks: 1,487
Check lua...

ETC Script Function (c403d1bd9f1aff14710688c4358b34c2).lua

Mine looks like this...

Code:
function is_premium()


	-- ±¹°¡ ÄÚµå Àоî¿À±â
		-- get_local_info()ÀÇ ¹Ýȯ°ªµé
		--LOCAL_INFO_KOREA                      = 1
		--LOCAL_INFO_HONGKONG                   = 2
		--LOCAL_INFO_AMERICA                    = 4
		--LOCAL_INFO_GERMANY                    = 8
		--LOCAL_INFO_JAPAN                      = 16
		--LOCAL_INFO_TAIWAN                     = 32
		--LOCAL_INFO_CHINA                      = 64
		--LOCAL_INFO_FRANCE                     = 128
		--LOCAL_INFO_RUSSIA                     = 256
		--¸»·¹ÀÌ½Ã¾Æ 512, ½Ì°¡Æú 1024, º£Æ®³² 2048, ű¹ 4096, Áßµ¿ 8192, ÅÍÅ° 16384	
		
	local state_code = get_local_info()	
	
	-- Çѱ¹ÀÇ °æ¿ì º»¼·/Å×¼· ¸ðµÎ ½ÃÅ©·çÆ® ÇÁ¸®Æнº°¡ ÀÖÀ¸¸é true
	if state_code == 1 and gv( "premium" ) == 1 then
		return true
	end
	-- ½ÃÅ©·çÆ® ÇÁ¸®Æнº°¡ ÀÖÀ¸¸é true
	if gv( "premium" ) == 1 and scf_is_official_server( get_server_category() ) then
		return true
	end
	
	-- Å×½ºÆ® ¼*¹öÀÌ¸é ¹«Á¶°Ç true
	if scf_is_official_server( get_server_category() ) == false then
	--return true	
	end
	
	return false

end
The last return true is commented out.

There is an end before return false.

I don't think it can return false in this case, It may also have nothing to do with it but I did not find anything in Server Init, On Login, or On First Login.
ThunderNikk is offline  
Old 03/06/2013, 05:32   #7
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
Quote:
Originally Posted by thndr View Post
Check lua...

ETC Script Function (c403d1bd9f1aff14710688c4358b34c2).lua

Mine looks like this...

Code:
function is_premium()


	-- ±¹°¡ ÄÚµå Àоî¿À±â
		-- get_local_info()ÀÇ ¹Ýȯ°ªµé
		--LOCAL_INFO_KOREA                      = 1
		--LOCAL_INFO_HONGKONG                   = 2
		--LOCAL_INFO_AMERICA                    = 4
		--LOCAL_INFO_GERMANY                    = 8
		--LOCAL_INFO_JAPAN                      = 16
		--LOCAL_INFO_TAIWAN                     = 32
		--LOCAL_INFO_CHINA                      = 64
		--LOCAL_INFO_FRANCE                     = 128
		--LOCAL_INFO_RUSSIA                     = 256
		--¸»·¹ÀÌ½Ã¾Æ 512, ½Ì°¡Æú 1024, º£Æ®³² 2048, ű¹ 4096, Áßµ¿ 8192, ÅÍÅ° 16384	
		
	local state_code = get_local_info()	
	
	-- Çѱ¹ÀÇ °æ¿ì º»¼·/Å×¼· ¸ðµÎ ½ÃÅ©·çÆ® ÇÁ¸®Æнº°¡ ÀÖÀ¸¸é true
	if state_code == 1 and gv( "premium" ) == 1 then
		return true
	end
	-- ½ÃÅ©·çÆ® ÇÁ¸®Æнº°¡ ÀÖÀ¸¸é true
	if gv( "premium" ) == 1 and scf_is_official_server( get_server_category() ) then
		return true
	end
	
	-- Å×½ºÆ® ¼*¹öÀÌ¸é ¹«Á¶°Ç true
	if scf_is_official_server( get_server_category() ) == false then
	--return true	
	end
	
	return false

end
The last return true is commented out.

There is an end before return false.

I don't think it can return false in this case, It may also have nothing to do with it but I did not find anything in Server Init, On Login, or On First Login.
Mine is also all same with yours...
Probably it's not about lua problem because when I used 7.4, I used same that lua and the player does not have HV. I think I need to fix db but I don't know where should I fix.
hiderian is offline  
Old 03/06/2013, 07:46   #8
 
TheOnlyOneRaskim's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 978
Received Thanks: 1,011
check your dbo.paiditem for the code of 910000 or 010023 and if they exist. delete them.

Otherwise you should edit the worldbuffs wich were given on the server init. (im pretty sure youre using gavstas ****. )
TheOnlyOneRaskim is offline  
Old 03/06/2013, 08:38   #9
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
Quote:
Originally Posted by TheOnlyOneRaskim View Post
check your dbo.paiditem for the code of 910000 or 010023 and if they exist. delete them.

Otherwise you should edit the worldbuffs wich were given on the server init. (im pretty sure youre using gavstas ****. )
It doesn't have dbo.paiditem in Arcadia.
I'm using all files from

I edited something though.
hiderian is offline  
Old 03/06/2013, 10:33   #10
 
elite*gold: 0
Join Date: Jan 2013
Posts: 12
Received Thanks: 0
dbo.paiditem is in Telecaster
Fido Dido is offline  
Old 03/06/2013, 11:10   #11
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
Quote:
Originally Posted by Fido Dido View Post
dbo.paiditem is in Telecaster
Mmm... There is no dbo.paiditem in Telecaster and also Arcadia too. However there's in Billing but no information added in dbo.paiditem in Billing.

By the way, I found the code that 91000 in dbo.smp_read_purchased_item_list for dbo.paiditem. But it's not necessary to fix here right?

Code:
USE [telecaster]
GO
/****** Object:  StoredProcedure [dbo].[smp_read_purchased_item_list]    Script Date: 2013/03/06 19:02:27 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- smp_takeout_commercial_item

-- start of smp_read_purchased_item_list   캐쉬템 창고 보는거
ALTER PROCEDURE [dbo].[smp_read_purchased_item_list]

@IN_ACCOUNT_ID		INT
 
AS
SET NOCOUNT ON


UPDATE billing.dbo.PaidItem set confirmed = 1 WHERE taken_account_id = @IN_ACCOUNT_ID and confirmed = 0;

SELECT  sid,                          -- ID
        account_id,            -- 구매한 계정 ID
        avatar_id,             -- 구매한 캐릭 ID        ( -1 일경우홈피에서구매한것임)
        avatar_name,           -- 구매한 캐릭 이름        ( -1 일경우홈피에서구매한것임)
        server_name,			  -- 구매한 서버 이름
        item_code,             -- 아이템코드
        item_count,            -- 구매한 아이템갯수
        rest_item_count,		  -- 남은 아이템 갯수
        bought_time,           -- 구매시간
        valid_time             -- 유효시간( 제한없을경우-12-31 )
               
        FROM billing.dbo.PaidItem WITH (NOLOCK) WHERE taken_account_id = @IN_ACCOUNT_ID and rest_item_count > 0 
	AND item_code <> 910000 AND isCancel = 0 ORDER BY sid;
	
	RETURN @@ERROR
hiderian is offline  
Old 03/06/2013, 12:40   #12
 
elite*gold: 0
Join Date: Jan 2013
Posts: 12
Received Thanks: 0
i don't know a fix for youre issue, i have that table in my db @ telecaster and so do others i think, i would make a new db (for test) and restore the telecaster you used in the new db, the see if paiditem is still missing.

Though i looked in my paiditem table, its empty and i do have a HV item so im not sure if its stored in there maybe its a lua issue. check the on login and on first login to see if you find the hv code there (not sure if you looked both )


else this script can add the table into ur db but remember its older version (i think repack was from like early epic 7 or maybe even modded from 6)


Code:
USE [Telecaster]
GO


SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[PaidItem](
	[sid] [int] IDENTITY(1,1) NOT NULL,
	[account_id] [int] NULL,
	[avatar_id] [int] NULL,
	[avatar_name] [varchar](61) NULL,
	[item_code] [int] NULL,
	[item_count] [int] NULL,
	[rest_item_count] [int] NULL,
	[bought_time] [datetime] NULL,
	[valid_time] [datetime] NULL,
	[server_name] [varchar](30) NULL,
	[taken_avatar_id] [int] NULL,
	[taken_avatar_name] [varchar](61) NULL,
	[taken_server_name] [varchar](30) NULL,
	[taken_time] [datetime] NULL,
	[taken_account_id] [int] NULL,
	[confirmed] [int] NULL,
	[confirmed_time] [date] NULL
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO



Just for the record, im still running the 1.3 repack from ncarbon, never tried the newer ones, perhaps they changed a name or whatever .

good luck on solving it
Fido Dido is offline  
Old 03/06/2013, 12:57   #13
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
Quote:
Originally Posted by Fido Dido View Post
i don't know a fix for youre issue, i have that table in my db @ telecaster and so do others i think, i would make a new db (for test) and restore the telecaster you used in the new db, the see if paiditem is still missing.



else this script can add the table into ur db but remember its older version (i think repack was from like early epic 7 or maybe even modded from 6)


USE [Telecaster]
GO


SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[PaidItem](
[sid] [int] IDENTITY(1,1) NOT NULL,
[account_id] [int] NULL,
[avatar_id] [int] NULL,
[avatar_name] [varchar](61) NULL,
[item_code] [int] NULL,
[item_count] [int] NULL,
[rest_item_count] [int] NULL,
[bought_time] [datetime] NULL,
[valid_time] [datetime] NULL,
[server_name] [varchar](30) NULL,
[taken_avatar_id] [int] NULL,
[taken_avatar_name] [varchar](61) NULL,
[taken_server_name] [varchar](30) NULL,
[taken_time] [datetime] NULL,
[taken_account_id] [int] NULL,
[confirmed] [int] NULL,
[confirmed_time] [date] NULL
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO





Just for the record, im still running the 1.3 repack from ncarbon, never tried the newer ones, perhaps they changed a name or whatever .

good luck on solving it
Thank you for your advice.
I added dbo.paiditem however no information has recorded... But I appreciate it. I'm going to try to fix with other way.
hiderian is offline  
Old 03/06/2013, 20:49   #14
 
elite*gold: 0
Join Date: Jul 2011
Posts: 113
Received Thanks: 87
Hidden Village Passport as Raskim said is given on server init as a world buff.
Go to the end of the lua file (b4e51c7c6f9cd671cf2bb33b2aa2d263.lua) and search for add_event_state(9004,1)
Remove this and restart gs, it will remove the passport.
Ne0@NCarbon is offline  
Old 03/08/2013, 12:59   #15
 
elite*gold: 0
Join Date: Jul 2012
Posts: 46
Received Thanks: 0
Quote:
Originally Posted by Ne0@NCarbon View Post
Hidden Village Passport as Raskim said is given on server init as a world buff.
Go to the end of the lua file (b4e51c7c6f9cd671cf2bb33b2aa2d263.lua) and search for add_event_state(9004,1)
Remove this and restart gs, it will remove the passport.
It doesn't have add_event_state(9004,1). I've checked all luas and chenged to lua files which I used at 7.4(it doesn't have HV pass) but it still adding HV pass. So I guess it's not lua problem.
hiderian is offline  
Reply


Similar Threads Similar Threads
Edit character size
03/23/2024 - RFO Hacks, Bots, Cheats, Exploits & Guides - 15 Replies
This is how you edit your character size: 1. Search for your name in CE (text search ofc) 2. open memory (the one with blinking numbers) usually ends with 08 3. right under all the FFFFFFFFFFFFFFFFFFFFFFFFFF, you should have 00 00 80 3F 4. add F3 to adress - use byte 5. F3 value should be 63, edit it down or up to scale character. ^^ thats it, just for the look, client sided only as far as i know
How Can i Edit Attak Of Character
10/19/2012 - CO2 Private Server - 3 Replies
My Source 5620 Attack is Very Bad Ex.. Monk Is very Week Which File on the source i can edit Character Attack !!
[Help]Edit image character !
10/15/2012 - Dekaron Private Server - 4 Replies
Title please !
[Help] Noobs beginning get certain special items?
12/14/2008 - CO2 Private Server - 1 Replies
Uh, in some servers I've seen when I begin a certain NPC will give the noob when you'd click on the NPC, could anyone gimme a runthrough on that? It'd be greatly appreciated.



All times are GMT +1. The time now is 02:40.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.