-
Posts
340 -
Joined
-
Last visited
-
Days Won
10 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by ѕeмa™
-
-
idk but maybe like that :
int npc_get_hp(lua_State* L) { CQuestManager& q = CQuestManager::instance(); LPCHARACTER npc = q.GetCurrentNPCCharacterPtr(); lua_pushnumber(L, npc->GetHPPct()); return 1; }
this is a quest function for get the hp !
oh i think u dont understand what i mean, i have this function working , but i wanna know how work the function.
I make the GetExp() and doesnt work, and why¿¿¿??? i dont know, but i want know what do the
LPCHARACTER npc = q.GetCurrentNPCCharacterPtr();
and
npc->GetHPPct()
where is this defined?
-
Hi, someonke can explain me how works the connections like this:
LPCHARACTER npc = CQuestManager::instance().GetCurrentNPCCharacterPtr(); lua_pushnumber(L,npc ? npc->GetHP() : 0);
*EXAMPLE: this go to questmanager.cpp, choose the npc and get the hp from mob_proto
Where is defined the GetHp() from a npc/mob?
and why if i put
LPCHARACTER npc = CQuestManager::instance().GetCurrentNPCCharacterPtr(); lua_pushnumber(L,npc ? npc->GetExp() : 0);
the GetExp() doesnt work?
I want learn how works, i want learn more about c++.
Thanks.
-
its the same, only copy 1 line and change vnum and coords.
ex:
name:
XXXXXX New_Area 9999 8888
proto:
XXXXXX "New_Area 9999 8888" "PAWN" .....
-
locale_name and name with coords and will work, copy one and change the vnum, name and locale_name
-
questlua_pet.cpp
-
I think you forgot the .close() doesnt work with cython.
LoginWindow.__LoadScript.BindObject - <type 'exceptions.AttributeError'>:'pack_file' object has no attribute 'close'
Example:
file=open("aaa.txt","w") file.write("heyy how are u?") file.close()
and how to repair:
file=open("aaa.txt","w").write("hey i solve the bug")
-
@ѕeмa™:
Don't you think that you should let at least a small part of work up to the people? Everybody who is capable of reading at least a bit english or even just using a translator should be able to read the error messaged and thus be able to fix them.
It's really not that hard.
yep, you have right xd
-
Thanks, but i think you should put a guide of how to repair the errors give the *.py files when you are cythonicing, a lot of people cant use the system if dont know how repair it. <-- this is not going for me, I know how to fix it.
Only to increase the information in the post.
-
solved. thanks reboot.
-
Add me on skype.
added.
-
run:
freebsd-update fetch install
pkg upgrade
and then try again
thanks shogun but...
i did reboot too, but the php doesnt work yet and devil dont found the real package.
@koray:
I think devil 1.7.8_18.1 now is not avaible so your updates list is old because now is only 1.7.8_20.1 avaible
i download manually the new package in cd / and unpacket with tar, but the same, i get errors.
-
Tutorial posted by me, what's so hard ?
i did all say in the post, allways give me errors. freebsd 9.3
-
Hi , someone know why i have this error?
I'm really desperate
I try install ngnix and php
from this post:
I format the dedicate server 5 or 6 times and i cant install the fucking ngnix or apache with php...
but when i try install php i get this error.
I try solve it with this answer of shogun
but when i try make the pkg i get this error:
Someone can help me with this?? thanks, and sorry for my english.
-
Me the index is blank. Any solution?
I have the same error, when i try enter in my website is blank but the phpinfo() read fine.
Any solutions? Freebsd 9.2
-
i dont try it, in a few minutes , i go to try it, but i think this will work.
Pet's last hit = 0 drop.
Great solution bro,
Next time use brain.
the best soultion = pet drop can get the owner.
ok, when 2 players attack a metin, 2 players get rewards right?
if the pet dont do the last hit, but the pet attack, both can have drops.
Great solution bro,
Next time use brain.
- 1
-
i dont try it, in a few minutes , i go to try it, but i think this will work.
- 1
-
Thanks u, solved.
All work fine.
-
-
*EDIT: Fail.
I have errors in the functions get_hp from the vid.
Ingame error,
Quest.
C++ functionsThe function without the vid work fine, but with vid, doesnt work :/
- 1
-
Yes, probably it should work.
and if i need send the hp to the client in a loop_timer, how can i do?
i cant do click every second to the pet, for this i put with the vid of the pet
to save the vid on a variable and check in the loop_timer with the variable of the vid. :/
-
thanks u so much i will try it now, but if i can see the hp of the pet? i cant do .chat., but work with .click?
-
Hi, someone know if is possible get the hp of one mob/npc from the vid?
example:
when xxx.chat."test" begin begin
npc.get_hp(npc.get_vid())
end
npc.get_hp(arg) new function in c++.
Thanks,.
-
maybe because u dont put the damage in mob proto?
- 1
-
tested:
all compiled right, pet dont attack xd ( maybe because pet dont have animations? )
animations. this is why is wolf in video
Solved. Animations is not needed.
How works connections in C++
in Community Support - Questions & Answers
Posted · Edited by Metin2 Dev
Core X - External 2 Internal
yep u have right but the mobs yes, how can get the exp of one mob when i kill him?