Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 21:48

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

Advertisement



For Lua expert or programers

Discussion on For Lua expert or programers within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2013
Posts: 119
Received Thanks: 13
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 08/19/2014, 21:46   #2
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,913
Received Thanks: 1,491
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 08/19/2014, 21:53   #3
 
elite*gold: 0
Join Date: Feb 2013
Posts: 119
Received Thanks: 13
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 08/19/2014, 23:32   #4
 
mongreldogg's Avatar
 
elite*gold: 30
Join Date: Mar 2012
Posts: 634
Received Thanks: 297
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 08/19/2014, 23:43   #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 08/19/2014, 23:54   #6
 
elite*gold: 0
Join Date: Feb 2013
Posts: 119
Received Thanks: 13
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 08/20/2014, 06:58   #7
 
mongreldogg's Avatar
 
elite*gold: 30
Join Date: Mar 2012
Posts: 634
Received Thanks: 297
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 08/20/2014, 09:30   #8
 
elite*gold: 0
Join Date: Jun 2011
Posts: 97
Received Thanks: 41
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 08/20/2014, 11:34   #9
 
elite*gold: 0
Join Date: Feb 2013
Posts: 119
Received Thanks: 13
Hmmm the player not warp by the teleport Mr Mongrel now what im saying @
mohamad512 is offline  
Reply


Similar Threads Similar Threads
pls need some help from programers here
03/05/2009 - Silkroad Online - 4 Replies
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 wann me to give him 1bil to stop block me all the day he jsut open his program on my id and make it blocking and go afk he do this from 1month pls ineed help ineed this program so ido in his id too caus iknow his id but icant do aney thing to deafince on my self so ijsut ned this tools to do ike he do so he will stop pls help me...
Question to the programers
07/31/2008 - Conquer Online 2 - 3 Replies
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 accounts? Like when an account is created it has a randomly generated number that determines the "luck" rate of said account. I realize that some people are just lucky in general. But it seems that some people have a lucky account so to speak. Meaning that out of say 5 accounts a person has, they have more luck with 1 certain account than they do with...
C++ and Java Programers!!!
12/12/2006 - Conquer Online 2 - 12 Replies
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 is Essential. No Noob Offers for joining please, Serious peaple only contact me on ICQ - 489-370-478
C++ and Java Programers!!!
12/12/2006 - Conquer Online 2 - 0 Replies
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 is Essential. No Noob Offers for joining please, Serious peaple only contact me on ICQ - 489-370-478
hi all programers
07/21/2006 - Conquer Online 2 - 5 Replies
can someon hellp w c# give links or books



All times are GMT +1. The time now is 21:48.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.