Jump to content

Syntrax#

Members
  • Posts

    271
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Syntrax#

  1. 17 minutes ago, IIYAMA said:

    That's what it does...

    If you say the angle between them, it can only be positive.... (in my opinion) But if you talk about offset, it can also be negative.

    And it freaking works for me. Just test it...

    He is true, you just have to check if it is positive or negative, and if the value is bigger than 10

  2. 38 minutes ago, Jayceon said:

    We can not use findRotation, because we need left or right angles (it can be -10>n then it's a left turn, if it's 10<n then it's a right turn, if it's between -10 and 10 it is nothing)
    We have a table with precalculated values (the need field is what we need), but we get different numbers (got field)

     

    
    function getAngle(x1, y1, x2, y2)
    	local angle = math.atan2(x1, y1) - math.atan2(x2, y2)
    	
    	if angle <= -math.pi then
    		angle = angle + 2 * math.pi
    		usedAlg = "hoz"
    	else
    		if angle + 2 * math.pi <= math.pi then
    			angle = angle - 2 * math.pi
    			usedAlg = "min"
    		end
    	end
        
        return -math.deg(angle)
    end
    
    
    pass 
    fail || need: 13.532079523427 || got: -346.46792047657  
    fail || need: 368.80375654813 || got: 8.8037565481247  
    fail || need: 270 || got: -90  
    fail || need: -85.150542731867 || got: -85.150542731865  
    pass 
    fail || need: 13.532079523427 || got: -346.46792047657  
    pass 
    pass
    pass 
    pass
    

    but it does not work

    Lol basically what you currently got and what ya need is 360 - got.

    If you do 360 - the value you get with findrotation you get what you need

  3. 43 minutes ago, Dziugasc said:

    Ok thanks

    Make sure your mysql does accept remote access, if this isn't stated anywhere please contact your hoster to make sure there isn't an option for remote MySQL access

     

    P.S : I'm using blazingfast for that, they provide free remote mysql asnd they are cheap

  4. Just now, StiviK said:

    Which graph did you use? You'r own? Or the sa_nodes from the repo? Ich think you messed up the edges.

    i've used the sa_nodes one but i've to say i'm just looping most of the values not considering the edges etc what is  the meaning of those edges btw?

  5. 51 minutes ago, StiviK said:

    The return value of the function is a table with this structure: { { x1, y1, z1 }, { x2, y2, z2 }, ..., { xN, yN, zN } } (where N is the count of the used nodes in the Route)

     

    @Jayceon are you trying to use the functions server-side or client-side?

    Already got it working but i've to say the test nodes are seriously messed up they literally take the shortest route which means for example at the greenwood hospital to the highway they will decide to directly jump of the edge to to highway and visa versa

    This is what i've managed to create thanks to the module :D, i've to say that it isn't completed yet and is for from stable. I've to find a way to update the route without requesting too much peformance from the server or client. for example when someone doesn't follow the path.

    6yozkh.png

  6. Why would you pay that much when MyBB or SMF does provide nearly the same features.The only thing you've to do is basically create a theme and create your plugins.If you can't do this try getting a web developer to do it for you

  7. Main Core Updates

    Today has been an awesome day, we've peformed several changes in our maincore to optimise the ram usage and network usage plus we've changed a bunch of diffrent things on our forum theme.So let's see what has been changed in the Server itself.

    -As first we've added username detection by the player's Serial, it's an export so it will be used in many other scripts.
    -The member tab is now filled with all the required data
    -The log panel has been updated and now contains logs such as Creation / Invite / Leave / Kick / Rank changes / New Leader etc
    -The banking panel has been added and is ready to get fully completed
    -Start of our own custom Browser which will be used by the Login Panel
    -Security has been updated for the organisations, every feature has it's own permission which needs to match with the player's rank

    And we're proud to welcome Adistar and Freakout to our Headquarter team.They helped me build this community and made it how it is right now.Special thanks to @Freakout to create the theme and thanks to @Adistar for coming up with the forum theme idea's.
    This was it for today, we will be back tommorow with even bigger updates so stay tuned and make sure to visit www.dynastynetwork.tk

    Cheers,
    Serenity

  8. 18 hours ago, xRaM said:

    Well, i can script for you an EXTREME gaming RPG server ,

    req : 25$ each month on my paypal .

    What the actual :O 25$ for a script that takes 4 hours to make it totally bugfree.Also the development of a brand new RPG server can take up to 6 months so you basically writing it for 150 $ depending on which days you script which isn't consistant

×
×
  • Create New...