Jump to content

Need the source for fixing quests and learning to script


Qlka

Recommended Posts

Posted

Hello folks, can I ask you a huge favor please?

If any 1 have any links with resources of where to find guides/tutorials examples on how to fix quests - I will highly appreciate. Want to help to the project as much as I can on my spare time.

(P.S I've only found one example of a fixing a quest in Mangos University, but that was pretty much it - and not much information on scripting things either)

And any resources to start with the scripting that is used in the core would help a bunch. Thanks in advance.

Reason for asking: I've seen on the repo quest list [MangosZero]r21 that quite a few quests (especially instance/dungeon one's) are bugged. (I've figured only digging through the database and adding waypoints and npc_text w/e won't work in this case) so pretty much that's why.

P.S just an idea. There should be a sticky thread on the forums with the links of resources used to help the new starters like me.

Oh oh and yes, I am using search for everything - but only thing I managed to come across on the forum, was a list of links to C++ resources

One big issue I've noticed, but only assuming this is my individual case about the "Escort quests" when u run into the distance - npc disappear and appear dead at the escort quest starting position. Unfortunately the quest doesn't flag as failed - on the other hand I am not sure it should happen in the first place. NPC should not disappear and appear dead at the starting position. Every escort quest I've tried have this issue. If u won't keep the right distance it will vanish.

REQUEST to test it on your build if u can please

Posted
Hello folks, can I ask you a huge favor please?

(P.S I've only found one example of a fixing a quest in Mangos University, but that was pretty much it - and not much information on scripting things either)

And any resources to start with the scripting that is used in the core would help a bunch.

If you find anyhting helpful, please share the reference in the same "Mangos University" section.

Long ago I begun to write a manual, see this thread. Since it was needed by no one (which is illustrated now by the current thread position), I have stopped.

"Escort quests" when u run into the distance - npc disappear and appear dead at the escort quest starting position. Unfortunately the quest doesn't flag as failed

This is the core mechanic, no need to check for different quests. The bugs needs to be announced at the bugtracker, and the ideal messages for the developers are composed due to the following plan:

  • what is wrong, better with id's of related mobs/quests/GOs as well as with (exact - commit Id) core version;
  • at what particular example it was tested - the above mentioned id's show it;
  • how it must work. This is the most important part of the report since not every each developer has enough own experience to decide correct behaviour of the emulator.

Posted

Thanks for the quick reply Olion.

I know how to use the bug report function and all that.

Unfortunately I would really love to know how to do it myself - obviously if I manage to fix it I will upload everything.

Meanwhile I know that this is not a huge community and everyone spending their spare time to fix/commit what ever they can

I would rather fix something myself then just dig through an old 1.12.1 database and post what a specific quest intend to do and what not. (on the other hand some private servers out there takes ages to fix stuff, and this is open source community so it might take probably even longer)

After all I came here to learn coding/scripting and not being a beta/alpha w/e tester :) (I have nothing mean intended, just if I can't manage to learn it myself I will have to help the way you said)

Thanks again

  • 4 weeks later...
Posted

Yes it is possible. Just use Google and you will find sites or comments in forums. Some are good some are not good but you can learn here and there something. Unfortunately there are many different types of private servers but in general they have similar database structures.

To solve problems you have to study a lot. And you need tools. For example a tool where you can open the database. Many of the mistakes you can solve there. Some mistakes you can only solve in the source code. So you need Microsoft Visual Studio Express. It is free if you register at Microsoft.

So yes it is possible to solve many mistakes by your own. If you put much time into it and if you have the right tools. I solved several mistakes by my own and I am no educated programmer. But I am highly intelligent. I am that intelligent that I even correct mistakes in the source code although I do not know much about C++.

I believe this is the official document site: Welcome to mangos-zero — mangos-zero .2. documentation

This site is very bad because nothing is explained. But there are other sites like this site: Creature ai scripts SF - Project Skyfire

There you can find more detailed informations. If you wanna spend much time and you are very intelligent then you will correct many mistakes.

I correct many mistakes that are in every private server outthere. But I did not work at it since months and I probably will never again work on this subject because there are more important things to do.

If you really search a guide for programming in C++ for mangoszero that will very hard to find. There are tools with which you can extract the api from the sourcecode but that is of course not a documentation or an explanation.

I think you can not find a thing like a documentation for really programming. I correct some mistakes in the code. For example if conditions were wrong. I can see logical errors but I dont really understand the programming and I can not program. And I think there is not such a thing like a documentation for everyone.

Many mistakes I solved by changing the mpq-files. You need for that a tool named MyWarcraftStudios. But how I said there is no real guide. You have to learn by your own and have to research a lot by your own.

Posted

Thanks for the nice answer. Although I realized that fixing these mistakes and committing it - It's a massive waste of time and potential.

If the maNgos team can't manage to make a decent resource of where to start, and how to start then I'm willing to say with no doubts that they are good on their own, and need no further help from growing community.

So like you said it takes no knowledge to fix database issues. Well If you'd have checked the core of Zero you'd probably know that the arena's and bg's don't really work and that is not only a database related issue, that's a core missing a shit loads of commits and blocks of code which is freaking hell of a struggle if u don't know C++.

I changed my mind, left this maNGOS thing for now and decided to learn java. At least it will bring me knowledge. Not endless hours of fixing database by searching the incredibly massive tables and correcting the data. In the matter of fact I think most of that data was just converted from something to .sql cuz that's not really possible to input everything what is there by hand.

Not hating - just saying that mangos team are doing decent job. But for amount of people who knows what they're doing it will more or less gonna be endless job to fix everything.

And to do everything by yourself like you are saying. Just BS in my opinion.

class failure {
public static void main(String[] args) {

	int guide = 10;

	if (guide < 5) {
		System.out.println("Willing to Learn");
	} else
		System.out.println("Going to Fail");
}
}

Really simple and quite easy to learn only done maybe two days of it yet. But I think that will be way better thing to do then fixing maNGOS database :D

Posted

You are right it is kinda a waste of time like WoW in general was. I say was because nobody with a healthy mind can play "WoW" today. This shareholding expert Robert Kotick destroyed the game totally.

I did not check bgs in real conditions but on the surface it works perfectly. Arenas do not exist in Classic-WoW. PvP in general is not good on private servers because the game mechanics does not work 100%. PvE is okay in my eyes. Not perfect but okay. And to correct mistakes in the database you need much knowledge. In terms of how is the database build and how it is working. If you dont know that you can not correct mistakes. But this is of course very specific. At least you learn something about SQL because it is a SQL-Database.

If you wanna learn a programming language I can suggest to begin with JavaScript. And there is a good book called "JavaScript for Kids" from Nick Morgan. After that you can learn Java and so on.

I wish you good luck.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use