Author | Message | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ![]() Ill try to merge wisemans quest and ananas and see how that works out. --- Fate-Gaming/Forgotten Memories Owner.
|
| ![]() well it wont work to add more quests yet becuase it will take some things of quest 1 and wiseman/quests its possible but i dont really know how --- opensource isometric game engine ~ www.avac-engine.blogspot.com
|
| ![]() clive posted: (30th Apr 2010 06:34 pm)
You have the quest packets, write the code to use them.
|
| ![]() Apollo posted: (30th Apr 2010 07:05 pm)You say hardcoding, Thats not hard coding this is Endless Online Remember.clive posted: (30th Apr 2010 06:34 pm) A small 2D game, Trying to become better with newbie Coders. But the newbie codes (Here on this forum) are good cause its EO. Sausage and Sordie, Could team and maybe make anything but who says that will ever happen, I wouldn't try to do anything if it took 5000 lines just to do that, Why not wait and find somthing easier, Question: Anyone know how to add more quests?
|
| ![]() Hate to break it to ya, but when you copy/paste the same code over and over to satisfy every circumstance a quest has, this is called hardcoding. If you really want to see how huge the quest file can be, I may take a couple hours and hard code the entire EO main quest system just for lols. I
would highly recommend against using hard coded quests though.
|
| ![]() Apollo posted: (30th Apr 2010 08:50 pm)Hate to break it to ya, But no Thats called copy & pasting a code with another, Thats just time consuming not "Hardcoding" Hard coding is called coding something your self. Something you obviously can't do.
|
| ![]() Helper posted: (30th Apr 2010 11:00 pm)Helper read the quotes i put then read the bold underline sentence. He was giving and example of hardcoding he never ment C&P was hardcoding.Apollo posted: (30th Apr 2010 08:50 pm)Hate to break it to ya, But no Thats called copy & pasting a code with another, Thats just time consuming not "Hardcoding" Hard coding is called coding something your self. So prolly next time try to read it carefully before posting something that could of easly been misunderstood
*Back on topic*
This Release helped me out alot thx ananas
--- Fate-Gaming/Forgotten Memories Owner.
|
| ![]() Helper posted: (30th Apr 2010 11:00 pm)Apollo posted: (30th Apr 2010 08:50 pm)Hate to break it to ya, But no Thats called copy & pasting a code with another, Thats just time consuming not "Hardcoding" Hard coding is called coding something your self.
Also, if you are going to say someone can't code, don't start your post with the fact you copy/paste hundreds of lines of useless code to make some effect happen. That is a clear example of "not coding".
|
| ![]() Maybe but, Your referring Endless Online coding is "Hard coding" a guarantee that anyone will say " Endless Online is a easy 2D game made up of simple CPP Code" Why don't you take a look at something that's real CPP code? Then come back and tell me how that went.
|
| ![]() helper, i'm pretty sure you don't understand what hard coding is. hard does not refer to the difficulty of the coding. it refers to exactly what apollo said - hundreds of lines of code that could easily be reduced to make for better performance of your application. something that is directly described in the source that if you want to make changes to, you have to type the code in yourself, and recompile. eo+ quest file parser (https://eoserv.net/forum/topic/7696) is a way to NOT do this. instead, you use an external file that is loaded into the application if you want to make changes to your quests. if you look on the actual website for endless online, it gives a description of how the file parser works. i am hoping that gets integrated into an emulator pretty soon because it is a really powerful tool that would allow server admins to create their own quests and have a ton of control, much like this release does. ananas system is (again like apollo said) a really good move towards doing this, since no one else has thought to release a quest handler yet (as far as i know). for now, i would just use this, and not challenge a moderator for his coding skills. moderators have their positions for a reason. if you want to take a look at what it is like to hard code a quest, i added a karma menu to my source in this fashion and posted a release (https://eoserv.net/forum/topic/7685). and apollo shot it down, for the obvious reason that it is a pain in the ass and is also inefficient. anyways. sorry for the off topic explanation. this quest system is a HUGE progression and a valuable addition to the eoserv community (even though i'm pretty sure you all already figured that out). --- class EOSERV { Programmer | Oldbie Open source EO Client: https://github.com/ethanmoffat/EndlessClient };
|
| ![]() Why call it hard coding? Call it Copy & Paste Coding. xD!
|
| ![]() Helper posted: (1st May 2010 06:21 pm)
|
| ![]() Apollo posted: (1st May 2010 10:37 pm)Apollo man,Helper posted: (1st May 2010 06:21 pm) Long term, short. Lets just say ok. whats done is done , I obviously think its something different and so do you, So My opinion over urs, I'm just not "Flaming you and this topic" over something stupid. If you want to say its Hardcoding, Well giver nuts. If I want to say its not, I'll giver nuts. I'm done here, I wanna be cool with all Mods/Admins/Watchdogs #1 Ananas. -Helper out.
|
| ![]() I tried adding another quest but it only reads the last quest it doesnt read both quest im not sure wats wrong with it ill post the quests here ### Rat Quest ### # ### Main Dialog Screen ### 1.mapid = 94 1.questtitle = Witch Quest 1.questptitle = Rat Murderer 1.questmmessage = Oh man... I'm in deep trouble.. ### First Dialog Screen ### 1.qfmessage = Hey you! Can you help me collect 5 rat tails for the witch? 1.qfmessageoption1 = Yes sure! 1.qfmessageoption2 = Ewww.. Rats.. 1.rqfmessageoption1 = Thank you! You can kill some rats here for there tails! ### Second Dialog Screen ### 1.qsmessage = Got the 5 rat tails for me? 1.aqmessageoption1 = Yes here they are! 1.aqmessageoption2 = Ehm.. I don't think so.. 1.qfinishmessage = Thank you! Here take this reward! 1.qnoitemsmessage = Seems like you don't got the items.. 1.raqmessageoption2 = Ok well, Come back later if you want. ### Requirements ### 1.ritemid = 249 1.ritemamount = 5 ### Reward ### 1.rewardid = 1 1.rewardamount = 800 ### ### Pet Quest ### # ### Main Dialog Screen ### 1.mapid = 293 1.questtitle = Goat Pet Quest 1.questptitle = Goaty!!!! 1.questmmessage = Do u want a pet nikka?!?!?! ### First Dialog Screen ### 1.qfmessage = Hey you! Can you help me collect 100 Goat Horns Bish?!!? 1.qfmessageoption1 = Yes sure! 1.qfmessageoption2 = Ewww.. Goats... 1.rqfmessageoption1 = Thank you! You can kill some Goats for there horns!?!!? ### Second Dialog Screen ### 1.qsmessage = Got the goat horns 4 me bish??? 1.aqmessageoption1 = Yes here they are! 1.aqmessageoption2 = Ehm.. I don't think so.. 1.qfinishmessage = Thank you! Here take this reward! 1.qnoitemsmessage = Seems like you don't got the items.. 1.raqmessageoption2 = Ok well, Come back later if you want. ### Requirements ### 1.ritemid = 258 1.ritemamount = 100 ### Reward ### 1.rewardid = 617 1.rewardamount = 1 ## And on quest amount i put 2 but it only reads 1 quest --- Fate-Gaming/Forgotten Memories Owner.
|
| ![]() Is the NPC that your using for the second quest set to "Quest" in your pub editor,what I'm assuming is that there should only be one NPC with the npc type set to "Quest" per map for the actual quest to work, since it will automatically detect the Quest npc type. |