Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz
You last visited: Today at 23:01

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

Advertisement



NPC get_value

Discussion on NPC get_value within the Rappelz forum part of the MMORPGs category.

Reply
 
Old   #1
 
RoflcopterGoesSoiSoiSoi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 663
Received Thanks: 191
NPC get_value



Code:
function customtest()
	local custcol = get_value("custom_column")
	local custcoltwo = gv("custom_column")
	local lvldebug = get_value("level")
	local lvldebugtwo = gv("level")
	message("<b>---Begin Debug---</b>")
	message("custcol with full function name:  "..custcol.."")
	message("custcol with short function name: "..custcoltwo.."")
	message("level with full function name: "..lvldebug.."")
	message("level with short function name: "..lvldebugtwo.."")
end
Value of "custom_column" of currently logged in player in dbo.Characters: "9999991".

/slitwrist
RoflcopterGoesSoiSoiSoi is offline  
Old 07/02/2011, 03:30   #2
 
elite*gold: 0
Join Date: May 2010
Posts: 117
Received Thanks: 7
^ LOL +1
grymey is offline  
Old 07/02/2011, 05:02   #3
 
Makenci's Avatar
 
elite*gold: 100
Join Date: Mar 2009
Posts: 198
Received Thanks: 40
plz say guiid ,, hmm idk ehats you mine
Makenci is offline  
Old 07/02/2011, 22:12   #4
 
wisp66's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 939
Received Thanks: 517
Quote:
Originally Posted by joseph87293 View Post
The amount of facepalm in this thread is too great for words.
o.0 umm ok i actly found this post of intrest great job copter
wisp66 is offline  
Thanks
1 User
Old 07/03/2011, 01:12   #5
 
RoflcopterGoesSoiSoiSoi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 663
Received Thanks: 191
Thank you Wisp =.=
RoflcopterGoesSoiSoiSoi is offline  
Old 07/03/2011, 08:00   #6
 
elite*gold: 0
Join Date: Oct 2010
Posts: 301
Received Thanks: 457
You won't be able to just add columns in the database and expect the game to pick it up like that. The get_value names are names of variables in the code itself, it just so happens that they usually match the table column names.
Pyrok is offline  
Old 07/03/2011, 08:16   #7
 
RoflcopterGoesSoiSoiSoi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 663
Received Thanks: 191
Idiotic nFlavor coding.
RoflcopterGoesSoiSoiSoi is offline  
Reply




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


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.