-
Posts
110 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Den
-
-
20 minutes ago, pejka666 said:
but there the download link doesent work
Look on last page (15).
-
6 hours ago, Agorin said:
I have 2 question;
1: How can i block exp on map i mean after level up to next map, i dont want get exp on last map after max lv for map.
2: How to turn on this emoticons? because after enter this on chat effect is not showing only like on the picture..1.
char.cpp find void CHARACTER::PointChange(BYTE type, int amount, bool bAmount, bool bBroadcast) after:
case POINT_EXP: [ ... ] else { if (gPlayerMaxLevel <= GetLevel()) return;
add:
if (GetMapIndex() == 1 && GetLevel >= 75) //instead of 1 insert your map index and instead of 75 insert your level return;
Mind that it will also block exp from missions.
-
I'm using these from the beggining so you can grab this.
-
1 hour ago, boloca said:
Fourth step: npclist.txt (client):
10106 warp Npclist yes, mob_name.txt no
So add it?
-
1 hour ago, Riner said:
like that allow you to make another thing to another people in game?
like teleport? but not you the another player?
You can use it like that for example:
when 20019.chat."testing here" begin say("test") local npc_vid = npc.get_vid() --getting npc vid for the future use if npc_vid !=0 then target.vid("__TARGET__", npc_vid, "test_target") --targeting npc you've just talked to end end when __TARGET__.target.click begin say("test") target.delete("__TARGET__") end
- 1
-
16 minutes ago, Riner said:
so that true thx
do you know what this func do?
npc.get_vid
why you tell me this Im get shocked@@ 20 quest will change with this wrong information but thx
The function will return virtual ID of npc. You can use this in some function that takes vid as an argument.
Quoted.regen_file -d.set_regen_file whats the different
d.regen_file() will spawn mobs only once, d.set_regen_file() will loop regen (mobs will be respawned like in normal maps).
- 1
-
Just now, Riner said:
Do you want teleport them to the private dungeon map?
yeah I need to teleport them for private dungeon map
So use d.new_jump_all(), it will create a new private map and teleport everyone like deviltower dungeon.
- 1
-
2 minutes ago, Riner said:
I know there is quest like this and thx for it but I need to teleport all people in the map to dungeon
and no body can meet the first people that already going to dungeon
there is any way to do this?
I've edited the post above with the explanation of the functions. Do you want teleport them to the private dungeon map (10000+) or global map?
- 1
-
2 hours ago, Riner said:
so there is no function to teleport all people in the map to the dungeon?
EDIT: I'm blind xD
EDIT2:
d.new_jump_party() will teleport only party.
d.new_jump_all() will teleport everyone on map.
-
Check wear numeration.
Root:
inventorywindow.py
Client source:
GameType.h, ItemData.h
Server source:
item_length.h
- 1
-
Did you add the warp mob in mob_names.txt?
-
Show me your syserr.txt from client, uiinventory.py(root) and inventorywindow.py(locale/ui).
-
cmd_general.cpp -> ACMD(do_restart)
- 1
-
Show your client syserr.
-
Check if names of properties, gr2 files or folders contain uppercase letters then change it to lowercase. I always check for that if something isn't working.
-
22 hours ago, charparodar said:
Like this monsters doesn't attack the players...
Try if (victim->IsPC() && ch->IsPC())
- 1
-
3 minutes ago, charparodar said:
# set gnutarget i386-marcel-freebsd set: Variable name must contain alphanumeric characters.
First enter gdb then type what I wrote above.
-
1 hour ago, charparodar said:
gdb /usr/home/game/share/bin/game /usr/home/game/cores/channel1/game2/game.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/home/game/share/bin/game] "/usr/home/game/cores/channel1/game2/game.core" is not a core dump: File format is ambiguous (gdb)
Use it like this:
set gnutarget i386-marcel-freebsd file /usr/home/game/share/bin/game core /usr/home/game/cores/channel1/game2/game.core bt full
-
2 hours ago, charparodar said:
bool battle_is_attackable(LPCHARACTER ch, LPCHARACTER victim) { switch(ch->GetMapIndex()) { case 113: case 219: case 240: case 351: case 352: return false; }
Try
bool battle_is_attackable(LPCHARACTER ch, LPCHARACTER victim) { // »ó´ëąćŔĚ Á׾úŔ¸¸é Áß´ÜÇŃ´Ů. if (victim->IsDead()) return false; switch(ch->GetMapIndex()) { case 113: case 219: case 240: case 351: case 352: { if (victim->IsPC()) return false; } } ...
- 1
-
3 minutes ago, charparodar said:
I tried the server src option and know I can't even attack on the maps index specified...
How did you edit the function?
-
Try this and paste debug info here.
-
Try to insert space on the end of string where you've used national characters e.g.:
say("لقد أقدم بعض الخونه على سرقه مجموعة من عتادي المحبوب مني")
say("لقد أقدم بعض الخونه على سرقه مجموعة من عتادي المحبوب مني ")
The other thing is that you didn't define xx
if pc.count_item ( xx ) == 1 then
And I don't know if it's allowed to use ";" in lua so you can also try to remove them.
-
Server src: battle.cpp function bool battle_is_attackable(LPCHARACTER ch, LPCHARACTER victim)
Client src: InstanceBase.cpp function bool CInstanceBase::IsAttackableInstance(CInstanceBase& rkInstVictim)
- 1
-
Client source: InstanceBase.cpp -> UINT CInstanceBase::SHORSE::GetLevel()
Server source: pvp.cpp -> bool CPVPManager::CanAttack(LPCHARACTER pkChr, LPCHARACTER pkVictim) -> switch( pkChr->GetMountVnum() )
New pet system server source ERR
in Community Support - Questions & Answers
Posted
Before:
Add:
Learn some basics of C++ - it doesn't hurt.