Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 20:10

  • Please register to post and access all features, it's quick, easy and FREE!

 

For Lua expert or programers

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2013
Posts: 118
Received Thanks: 12
For Lua expert or programers

Hello ، First of all DON'T tell me to use HELP THREAD because my last question i had write there no one answer it !! so :


I have make a function which check the player position ( if the player in the position that i wanna or not !!)

now i wanna function that do Automatic check for the position function !!

example while i == 1 do

..but { while } make laqe !! and crash my captain !!


Hmmmm same like { Auto Notice } but not for a notice for a function and always not in Specific time !





mohamad512 is offline  
Old   #2
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,005
Received Thanks: 961
Not going to tell you to use the help thread...not going to answer questions outside the help thread either.

You made a choice and I am making a choice.


ThunderNikk is offline  
Old   #3
 
elite*gold: 0
Join Date: Feb 2013
Posts: 118
Received Thanks: 12
Thndr U a HARD man look let's make a deal if u answer what i wanna im gonna always use help thread !! i proms (:
mohamad512 is offline  
Old   #4
 
elite*gold: 30
Join Date: Mar 2012
Posts: 626
Received Thanks: 280
my answer:

LUA integrated into GS just as one LUA state and there is no way to realize threading in it using standard lua functionality.
even coroutine freezes GS because it starts thread in main state and dont allow anything else to work until it ends

the only way to realize threading there is to link dynamic libraries that contains threading functionality into your script.

i won't answer how to do that because didnt realized it by myself yet, just working on that right now. if i'll get some info, i'll post it on epvp

P.S. agree with one thing that help thread ruins normal communication in this community. not gonna tell more about that because have no time.

just ruins


mongreldogg is offline  
Thanks
2 Users
Old   #5
 
elite*gold: 0
Join Date: Jul 2014
Posts: 31
Received Thanks: 26
Agree'd I posted a good question there and nothing.
undergroundtaffy is offline  
Old   #6
 
elite*gold: 0
Join Date: Feb 2013
Posts: 118
Received Thanks: 12
Quote:
Originally Posted by mongreldogg View Post
my answer:

LUA integrated into GS just as one LUA state and there is no way to realize threading in it using standard lua functionality.
even coroutine freezes GS because it starts thread in main state and dont allow anything else to work until it ends

the only way to realize threading there is to link dynamic libraries that contains threading functionality into your script.

i won't answer how to do that because didnt realized it by myself yet, just working on that right now. if i'll get some info, i'll post it on epvp

P.S. agree with one thing that help thread ruins normal communication in this community. not gonna tell more about that because have no time.

just ruins


I have told that there is a program ! like auto notice program check the function that i want each second is that right ?
mohamad512 is offline  
Old   #7
 
elite*gold: 30
Join Date: Mar 2012
Posts: 626
Received Thanks: 280
Quote:
Originally Posted by mohamad512 View Post
I have told that there is a program ! like auto notice program check the function that i want each second is that right ?
release of LUA autonotice is mine and no, it dont check notice every second.
there is a function that must be integrated into functions that called very often on server (on_login, AIO NPC contact script etc)
mongreldogg is offline  
Old   #8
 
elite*gold: 0
Join Date: Jun 2011
Posts: 75
Received Thanks: 23
Quote:
Originally Posted by mohamad512 View Post
Hello ، First of all DON'T tell me to use HELP THREAD because my last question i had write there no one answer it !! so :


I have make a function which check the player position ( if the player in the position that i wanna or not !!)

now i wanna function that do Automatic check for the position function !!

example while i == 1 do

..but { while } make laqe !! and crash my captain !!


Hmmmm same like { Auto Notice } but not for a notice for a function and always not in Specific time !


Incase the players can get to that place via teleport only(NPC/Item) just write a script for a stun or something like that(I used "hold" in the script") then also insert into their inventory a scroll/bottle or anything they can pop with another function that remove the stun and check their position.

Example for the NPC function:


Teleport function example:

Example for the item function:

Hope I helped you
sapir619 is offline  
Old   #9
 
elite*gold: 0
Join Date: Feb 2013
Posts: 118
Received Thanks: 12
Hmmm the player not warp by the teleport Mr Mongrel now what im saying @


mohamad512 is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
pls need some help from programers here
hi all ined some help from the progrmmers open ehre some 1 know my id and he is block it 10 mintes all the day with program he made ithink and he...
4 Replies - SRO Ask the Experts
Question to the programers
I'm not sure if this is possible or not. But has anyone ever looked into the CO2.0 server database to see if there is any type of luck scale for...
3 Replies - CO2 Main - Discussions / Questions
C++ and Java Programers!!!
Its Now IMPORTANT THAT ALL CODERS MAKE NEW BOTS ASAP!!!. Im Forming a Team of coders for CO, Knowledge of Hexadecimal, Packet Editing, C++ or Java...
12 Replies - CO2 Main - Discussions / Questions
C++ and Java Programers!!!
Its Now IMPORTANT THAT ALL CODERS MAKE NEW BOTS ASAP!!!. Im Forming a Team of coders for CO, Knowledge of Hexadecimal, Packet Editing, C++ or Java...
0 Replies - CO2 Main - Discussions / Questions
hi all programers
can someon hellp w c# give links or books
5 Replies - CO2 Main - Discussions / Questions



All times are GMT +2. The time now is 20:10.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.