Jump to content
  • 0

Broadcasting Heading & On Enterworld Heading


Question

Posted

Hi everyone, i got 2 questions. I just need advice or sugestion no much help. 

 

1. When people login the heading is wrong. Let's say the heading has a value of 35000 and player log out. Value is stored on database at "heading" i checked it.

    When player login the heading is not the same as in database. I added a System.out.println(activeChar.getHeading); and it return the value from the database, so the value hasnt change at all.

    What's wrong is the broadcast. Other's watch you normally, but you watch your character in wrong direction (heading). So i guess is UserInfo.java

 

2. Same as previous the difference is that i made a code that changes the player heading. Example: activeChar.setHeading(0); then i type activeChar.broadcastUserInfo();   

    The player not see himself change direction but other's watch him change just fine. So i guess again UserInfo.java. 

 

Something is wrong with it.. I checked broadcastUserInfo() and is same as aCis. First it sendPacket to this (userinfo) and then broadcasttoAll (charInfo).

 

Any advice?

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • This is L2Etina’s first opening under our new team, and it’s off to a great start! We’re thrilled with the strong player turnout, the warm feedback, and your response to the major updates. We’re continuing to improve the server and would love to see you in game! ⚔️
    • I dont sell anything and i got scammed kiddo, if you noticed rookie just scammed me and blocked me. so asking this make you immature.
    • @Maxtor @Dragic @Celestine Why you unban this rat, it's will give very negative review if you will try sell something or provide service this very actually should be for @Dragic and his L2Forge sales.
    • Αχ ναι; τοτε γιατι με παρακαλουσες για κωδικες και οτι σου εδινα ελεγες τελεια και wow σαγαπαω? Ε ψευτρακο; Γιατι οτι πηρες λειτουργει οπως το ηθελες ακομη και σε λεπτομερεια που κανας αλλος θα σου ελεγε αντε κ γα*?   Σε τσουξανε οι τιμουλες μου στη τσεπουλα σου; κ βρηκες κανα new chatgpt dev? Φτωχομπινε του κερατα που κανεις παζαρια για 40-50 ευρω κωδικες.   Δεν ασχολουμε αλλο απλα ενημερωνω @Celestineτο παιδακι χρωσταει λεφτα για κωδικα που ελαβε και λειτουργει και το επιβεβαιωσε και με μπλοκαρε κ ολας. Ban η οχι δεν ασχολουμε αλλο. καλη τυχη 
    • den tha asxolithw allo mazi sou randoma,kserei olo to forum ti  eisai
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..