dx11
-
Posts
38 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by dx11
-
-
1 minute ago, Syreldar said:
Read my message again, I've added examples.
Thank you sir , i hope you have a nice day .
-
4 minutes ago, Syreldar said:
It seems to me you didn't understand my answer well.
1. Inside your sources, there are many files in which the functions are defined. The pc.xxx functions are defined inside questlua_pc.cpp.
2. All the useable functions are listed inside quest_functions.
so , if i want to use function in quests , that's i defined it , all what i need to define it in questlua_pc.cpp and use it in quests ? that's if define it in pc , use it like pc.myFunctionName?
-
16 minutes ago, Syreldar said:
1. sources. questlua_pc.cpp
2. quest_functions file, inside locale/xx/quest/
thank you , but it seems you did not understand a question well , or i not define my problem well ,
i mean in my question : in every programming language you should define function first and then use it , or import some modules and use their functionbut here in quests we don'd define function and not import any module that has the function pc.get_level() , but use it directly without knowing him where is the function located .
and i want to know what other function other than (pc functions) can use it directly ?
-
Hello ,
i have a question : How functions in quests accessible ; that is mean how lua know at run time where is the finction located to execute it , i think automtically he import some thing but i don't know that , if so what is it module ?!
Ex : pc.get_level() how know where there it
Second Question : How to know all variable and Functions that can be accessed directly in quests
-
On 1/7/2020 at 3:35 AM, Tallywa said:
if you use koray shop is normal, is not a bug
I haven't played for a long time so I guess it's a bug , but thank you
-
Just now, xLoGaN said:
that is not a problem
the storage is linked for all the characters in the same account .
yes i know that , and expect it as a problem , so how to solve it , or how to make all storage linked with each character alone ?
-
Hello Everyone ,
the problem appears in the same account
when enter some character in the account and left some things in the store and exit the game , and enter another character in the same account i found the items i left in the previous character in the store ,
in other words there is only one store for all character in the same account, when left item in one character , found it in other character in the same account
-
hey all
i use this client
i translate it from tr to ae and get the following error when enter the game , it opened but crashes before enter the game board1226 21:01:19945 :: CPythonItem::LoadItemTable: invalid item_proto[locale/ae/item_proto] STRIDE[152] != sizeof(158)
1226 21:01:19945 :: LoadLocaleData - LoadItemProto(locale/ae/item_proto) Error -
-
i solved it from uitarget.py in root
-
in the top left there is a bonus and more than half of words are hidden so ,
how to modify the coordinates so all words appear when mouse is stopped at it
also i want to modify this title because it's Overlapping , so i want to extend the height and width and modify coordinates
aslo here the word in icon and want to shift words to right
i only need the location of modification and i will test all x's and y's
-
-
-
Hello my friends I have a query, I want to understand everything from the first to enter the account name and password until checking the account and enter the game or in other words how to find these codes to understand the process how to occur?
-
-
hello
when i opening private shop the game exit and appear
0909 21:46:42196 :: CResourceManager::GetResourcePointer: filename error!
when i dressed hair style the shop start normal !!
-
sorry i have the same problem how do you solve it ?
-
5 minutes ago, MaJeStiC said:
you mean you change the default with design
need to update records too for example gold_expire
UPDATE `account` SET `gold_expire`='2030-01-24 23:59:59';
already all records modified
and to make surei created a new account and the same thing i don't know why it's not activitied
it's frozen files
-
in database and in acocount database and design table for account and for example put gold expire '2030-01-24 23:59:59'
and no thing changes
-
-
3 hours ago, Chyu ^^ said:
There are only a few things you can edit on server if you don't want to touch a core (core is a file that is generated by compiling the sources).
The biggest section that serverside allows you is writing a quests. Those can be used for handling the dungeons or stores or just some kind of story line.
Next thing you can do on server is just about localization and some configuration of how is server working (based on your experience this is not related to you yet).With editing source you can edit literally anything you want. Behaviour of spells, way of how you increase your skills, stacking behaviour, polymorph options and may other things. In a nutshell you, you can fix security issues, increase performance and create system you are not able to create without them (obviously lol).
Because M2 server is clever in that way it checks what is client doing, there are required changes in client sources too. But! Some changes could be done by editing only one of them. For example you don't need to edit server source if you want to add your custom effect for a weapon or you don't need to edit client source if you want to increase maximal level.
Last thing are packages. Here are stored data like 3D models, 2D graphics, sounds, icons, skyboxes, etc. Although there is coded our own "API" which provides Python to communicate with client binary that is written in C++ (mainly). Any UI you see in in packages too, look into UIScript.
Please consider I'm not calling myself as a developer so there could be some mistakes. We have more experienced guys here who could describe it more clearly.
Look, this could help you at the begining:
thanks for your efforts and time
-
2 minutes ago, Chyu ^^ said:
But you have to give us some example of what you want to add.
I do not have an idea now but I think there are basics I would like to know in order to discover the rest
5 minutes ago, Chyu ^^ said:In most common way the UI is creating in Python. You can find it in Root (implementation) and UIScript (coding) but sometimes in Locale too (ehhh...).
thnx
can you give me some situations modification should be in source and some modification in client and serverside -
11 minutes ago, MrQuin said:
What i am saying is that there are a lot of people like him who wants everything on gold plate without even trying to search
i'm computer science student and I know very well how to search Because my field taught me this
The answer to my question allows me to learn in a faster timeWhen I add something somewhere I do not know why it was specifically added to that place , So I asked
thanks
9 hours ago, Chyu ^^ said:You would give an example.
if i want to add form with some button and when i click to this button do specific thing
and when i should add something in source
and when add something in source when i do it in client source and when do it in server source
thx for your time- 1
-
47 minutes ago, Chyu ^^ said:
It depends on a stuff you want to add.
Can you give me some examples ?
How functions accessible in lua quests
in Community Support - Questions & Answers
Posted
Unfortunately, I can only choose one answer