-
Posts
292 -
Joined
-
Last visited
-
Days Won
16
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Normynator
-
-
https://github.com/rathena/rathena/blob/master/src/map/skill.cpp#L375 you could add a multipler to this line.
For example „*2“ would double the range per level.
But it‘s maybe easier to edit the spell in DB directly.
-
The script requires an item id not a string with a Name.
Also does this not simplify the scripts, it makes it unclean.
So instead of [email protected] = „Mega-Elunium“ (and the other possibility) you should keep the orignal part and just save the choice and use it later to display the text you want.
But again, this isnt making the script simpler.
-
Are you using the correct IP in your clientinfo?
Is your firewall configured correctly?
It looks like there is no incoming traffic to the servers.
-
I think inbound since client connections are coming in. And also allow all established outgoing connections.
-
All ports which are required by rAthena, so map-port, Login-Port, Chat-port.
Additionally 80/443 for flux.
-
1
-
-
// Flee stat = status->flee; stat += level + status->agi; status->flee = cap_value(stat, 1, SHRT_MAX);
Status.cpp line 2683.
Havent tested it but guess thats a start.
-
A good start would be to tell us what the problem is... we can’t read minds ( or at least I can’t)
-
Players can already join and leave channels, what would make the npc different?
-
Deleting it via SQL query should be an option, shouldn’t it?
-
With git you can simply: https://stackoverflow.com/questions/10414769/git-pull-keeping-local-changes
-
Little addition: take care if you have WOE with Wand of Hermode (song) then heal will also bypass this effect.
-
59 minutes ago, Mahiro said:
Go to this directory:
src/map/status.cpp
Search for;
// Status that are blocked by Golden Thief Bug card or Wand of Hermod if (status_isimmune(bl)) { switch (type) { case SC_DECREASEAGI: case SC_SILENCE: case SC_COMA: case SC_INCREASEAGI: case SC_BLESSING: case SC_SLOWPOISON: case SC_IMPOSITIO: case SC_AETERNA: case SC_SUFFRAGIUM: case SC_BENEDICTIO: case SC_PROVIDENCE: case SC_KYRIE: case SC_ASSUMPTIO: case SC_ANGELUS: case SC_MAGNIFICAT: case SC_GLORIA: case SC_WINDWALK: case SC_MAGICROD: case SC_HALLUCINATION: case SC_STONE: case SC_QUAGMIRE: case SC_SUITON: case SC_SWINGDANCE: case SC_FIRE_INSIGNIA: case SC_WATER_INSIGNIA: case SC_WIND_INSIGNIA: case SC_EARTH_INSIGNIA: return 0; } }
Example:
Let's say you want "Bypass" in COMA, even GTB, COMA is still effective. Just remove it and stay;
// Status that are blocked by Golden Thief Bug card or Wand of Hermod if (status_isimmune(bl)) { switch (type) { case SC_DECREASEAGI: case SC_SILENCE: case SC_INCREASEAGI: case SC_BLESSING: case SC_SLOWPOISON: case SC_IMPOSITIO: case SC_AETERNA: case SC_SUFFRAGIUM: case SC_BENEDICTIO: case SC_PROVIDENCE: case SC_KYRIE: case SC_ASSUMPTIO: case SC_ANGELUS: case SC_MAGNIFICAT: case SC_GLORIA: case SC_WINDWALK: case SC_MAGICROD: case SC_HALLUCINATION: case SC_STONE: case SC_QUAGMIRE: case SC_SUITON: case SC_SWINGDANCE: case SC_FIRE_INSIGNIA: case SC_WATER_INSIGNIA: case SC_WIND_INSIGNIA: case SC_EARTH_INSIGNIA: return 0; } }Then just compile the emulator. You will notice that now with the COMA modification will apply its effect even being with GTB equipped.
Maybe i got something wrong, but since heal is no SC it shouldnt work that way. Its not even in the first list.
I think you have to change:
skill.cpp at line 6262 (least recent commit)
case AL_HEAL: case AB_HIGHNESSHEAL: { int heal = skill_calc_heal(src, bl, skill_id, skill_lv, true); int heal_get_jobexp; if (status_isimmune(bl) || (dstmd && (status_get_class(bl) == MOBID_EMPERIUM || status_get_class_(bl) == CLASS_BATTLEFIELD))) heal = 0;
To:
case AL_HEAL: case AB_HIGHNESSHEAL: { int heal = skill_calc_heal(src, bl, skill_id, skill_lv, true); int heal_get_jobexp; if ((dstmd && (status_get_class(bl) == MOBID_EMPERIUM || status_get_class_(bl) == CLASS_BATTLEFIELD))) heal = 0;
I did not test it but maybe it helps if the solution by Mahiro did not work.
-
2
-
1
-
-
Do you mean jumping while standing in a trap?
-
This will just change the displayed number not the damage itself.
Also reopening the same topic 3 times won’t attract people to help you, it’s just annoying
-
It’s NOT client side it’s SERVER SIDE, as dissidia said!
-
Well it's not "scripting" i think, its acutal programming. As a beginner language I really liked Java, you can go with C++ but is maybe a bit though for a beginner.
-
What was the gdb output when the crash happend?
-
I would suggest that you get more knowledge about scripting.
Here is a basic guide about scripting: Click me!
and here are the docs, there you can find documentation about every script command: Click me, i am cooler!But here comes the problem, the basic guide and also probably most guides just teach you the syntax but not „How to code“.
Most languages have the typical things like „if“, „for-loop“, „while-loop“ and „functions“ and you have to learn how all that works.
If you already know a programming language then you probably know about all these things and learn to write rA-scripts is just about learning the syntax.
My suggestion would be to try to acutal learn a programming language (via youtube tutorial or whatever) to get a basic understanding of how coding works and then go and learn rA-scripting syntax.
When I started I didn‘t have clue either. Lucky me, I learned some Java at school. With my basic knowledge of the typical things I took a NPC and tried to understand how it works and later change it, that way I learned more and more about the syntax of rA-Scripts but most of the knowledge I got until now is from learning programming „concepts“ in school & university.
Hoped this helped a least a little. -
Can’t you just use the settings icon on the chat window? Maybe I misunderstood your question.
-
1
-
-
You probably messed up using the files from the equipment-switch branch.
The conf is in the branch: https://github.com/rathena/rathena/pull/3548/files#diff-cef7ac74c838485afea2c27bdfad69fdR70
-
Have you checked the attendance.yml ?
-
Any output on the console?
-
In function „Job_Menu“ you can add:
if (([email protected] == Job_Novice_High) && ((Zeny < 2000000) || (countitem(1337421337) < 1))) { mes "You do not have enough zeny or missing the required item!"; return; }
To get the item after rebirth do:if ([email protected]_cls == Job_Novice_High) { resetlvl(1); getitem 40030, 1; } -
If you did not edit „new_account“ in /conf/login_athena.conf then you can create an account with _M/_F.
For example:
normynator_mThen you can login with the username without the _M/_F
For example:
normynator
Option open link.
in Client-side Support
Posted · Edited by Normynator
Well you would need a setup tool which is open source to change it as you wish.
I checked OPEN Setup but seems like its not OPEN source (atleast i didnt find a repo).
So you probably have to write your own setup tool xD