HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Coders - Display value in a file?

View previous topic View next topic Go down 
AuthorMessage
KiaraTDK

avatar

Game username : KiaraTDk
Server : Soul Kingdom (In progress)
Female Posts : 15
Join date : 2013-03-10
Age : 22

PostSubject: Coders - Display value in a file?   Sat Jul 04, 2015 9:44 pm

Hello,
We're trying to work on a quests feature.
We have a qd1.dat (quests data 1) which contains the following:
[Test Quest]
quest=Quest1
description=A test description
reward= Test rewards

There is also loadQuests and other parts of the function contains the codes for that feature (and game reads it, yes) but I don't think its necessary here.
However we are stuck on the game actually displaying the values of these quest, description and rewards on the screen in plain text.
I won't post the code here in public in case anyone steals the code but I can PM it to someone if they need to see it.
But I can say that it includes this
gn:
 

We want to find a way for the game to read the value of quest= and description= and rewards= and display it in plain text on the screen.
I know there are not many coders here but we have been stuck at this point for months. It's probably something easy that I missed.
Does anyone have any ideas?
Back to top Go down
KiaraTDK

avatar

Game username : KiaraTDk
Server : Soul Kingdom (In progress)
Female Posts : 15
Join date : 2013-03-10
Age : 22

PostSubject: Re: Coders - Display value in a file?   Wed Jul 08, 2015 12:21 pm

Bump?
Back to top Go down
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 22
Location : Australia

PostSubject: Re: Coders - Display value in a file?   Wed Jul 08, 2015 12:26 pm

You are better off PMing a coder directly or contacting them on Skype.
Very, very few people know how to code- fewer know how to create and add/change brand new code and functions. I suggest contacting Myz, Worthis or RedEye- although they may not give the information out freely and may be difficult to reach (inactive).
Back to top Go down
RedEye
Retired
avatar

Game username : -redeye-
Server : KITO
Male Posts : 2575
Join date : 2011-07-24
Age : 30

PostSubject: Re: Coders - Display value in a file?   Wed Jul 08, 2015 12:33 pm

Well the two obvious questions from me is:
Why are you making the game read the description as a boolean (true/false) and the reward as an integer (1,2,3,..)?

________________________________
Retired
Back to top Go down
KiaraTDK

avatar

Game username : KiaraTDk
Server : Soul Kingdom (In progress)
Female Posts : 15
Join date : 2013-03-10
Age : 22

PostSubject: Re: Coders - Display value in a file?   Thu Jul 09, 2015 2:27 pm

Apologies, this is from an unused load function that converted string to bool/int and I forgot to change it back. The game reads as String now.
/I would have never of noticed it/
So do you have any idea where I can look/idea to make the game display what's in these 3 description/quest/reward?
Kind of like cd1 where it would read the [CritterName] and read the lines under it, except this time i want to game to display it.
Back to top Go down
 
Coders - Display value in a file?
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: