summaryrefslogtreecommitdiff
path: root/src/net
AgeCommit message (Collapse)AuthorFilesLines
2010-03-15Fix some branding issuesJared Adams1-0/+10
Reviewed-by: Chuck Miller
2010-03-12Add an optional offset property to monsters.xmlJared Adams1-3/+0
And remove the hardcoded offset from eAthena's BeingHandler. Reviewed-by: Freeyorp
2010-03-12Split Palette into Theme and UserPaletteJared Adams2-4/+4
Themes can now control the colors they use. Colors in the Viewport (being names, particles, etc) can still be changed by the user. Also make ProgressBars more easily colored. DyePalette was made more flexible in the process. Also fixes comparing strings of different lengths insensitively. Reviewed-by: Thorbjørn Lindeijer
2010-03-01Stop processing for next/close with no dialogJared Adams1-0/+2
2010-02-28Add delete button to ServerDialog and only save saved serversJared Adams1-0/+4
Reviewed-by: Thorbjørn Lindeijer
2010-02-28Some code cleanup regarding the server dialogThorbjørn Lindeijer1-2/+7
Reviewed-by: Jared Adams
2010-02-27Report more info on client in cURL useragent and DesktopJared Adams1-5/+6
Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Chuck Miller
2010-02-27No point in calling Viewport::setMap(0) before deleting itThorbjørn Lindeijer4-4/+4
Reviewed-by: Jared Adams
2010-02-27Disable guilds for eAthena for nowJared Adams4-2/+10
Reviewed-by: Thorbjørn Lindeijer
2010-02-26Simplify arrow handling for eAthenaJared Adams1-8/+2
Reviewed-by: Thorbjørn Lindeijer
2010-02-26Make sure LocalPlayer and party members get their party setJared Adams1-0/+9
Reviewed-by: Thorbjørn Lindeijer
2010-02-24Move StorageWindow to instancing intead of globalJared Adams4-25/+87
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
2010-02-24Add more to eAthena guild supportJared Adams12-61/+510
It's not complete yet, but it is closer. Also fix up handling of guild/party members. Reviewed-by: Chuck Miller
2010-02-23Updated some documentationThorbjørn Lindeijer1-1/+5
Also added generated documentation to the git ignore list. Reviewed-by: Jared Adams
2010-02-22Change chat autocompletion to be more flexibleJared Adams2-5/+10
Reviewed-by: Chuck Miller
2010-02-22Warn when receiving an empty update hostThorbjørn Lindeijer1-4/+10
Reviewed-by: Jared Adams
2010-02-21Restore packet 0x0195 to the correct sizeChuck Miller2-1/+2
2010-02-21Handle packet 0x0195, and shows player's party name in a popupChuck Miller3-2/+11
2010-02-21Made tick counter and framerate limiter work during login sequenceThorbjørn Lindeijer13-59/+55
Much code was moved from main() to the new Client::exec(). This new event loop now integrates with the Game class, so that the tick counter and framerate limiter apply universally. The Client class is also responsible for some things that used to be global variables. Mantis-issue: ...
2010-02-21Do some more copyright header cleanupsJared Adams30-30/+26
Fix "(C) 2009-2009" to just "(C) 2009" Fix "(C) 2010 TMW" to "(C) 2010 Mana" Remove TMW compyright on (hopefully all) files added after 0.0.29.1
2010-02-22Modify copyright headersFreeyorp114-114/+228
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer117-468/+351
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer16-325/+364
Ownership of the charInfo global variable wasn't well defined. It was being locked, unlocked and generally modified from a lot of places, and somewhere in this mess it ended up crashing when switching servers. Now the CharHandler instances, for eAthena and manaserv respectively, own this list of characters. A new class, Net::Character wraps up the slot index in combination with the player dummy. The list is passed on to the CharSelectDialog each time it changes. Both related and unrelated cleanups were made as well. Reviewed-by: Jared Adams
2010-02-14Initialize dialog variable to avoid compiler warningThorbjørn Lindeijer1-4/+2
Compiler warning seems unjustified, but the code could make this more clear.
2010-02-14Force client to exit on detecting a zero length packet. The currentTametomo1-0/+3
networking code will get stuck in an infinite loop currently if it tries to handle these, and the packet id isn't helpful in identifying what packet it is. Since this specific case creates a rabbit, and will flood logger with unhandled messages until the hard drive is completely filled, it's a lot more friendly to force a client exit on detection than to continue. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-13Make NPC dialogs instance instead of globalJared Adams9-144/+151
This change allows players to talk to multiple NPCs at a time (if the server agrees). Manaserv's netcode allows multiple commerce instances too. eAthena's is limited to one commerce instance, due to protocol limitations.
2010-02-13Allow player to talk after deathAndrei Karas2-2/+3
Mantis-issue: 938 (TMW Mantis)
2010-02-11Allow redirects when downloading updatesBen Longbons1-0/+1
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-02-09Got successfully rid of tile width/height fallback values as asked by Jaxad.Bertram2-11/+8
But I added some logs when speed and other actions where refused due to game/map uninitialized. This could help.
2010-02-09Pushed away some 32 hardcoded values.Bertram2-5/+28
2010-02-09Separated fallback defaults for tile width and height.Bertram2-9/+12
2010-02-09Made the Beings' logic be able to handle any tile height/width.Bertram8-13/+44
This is the First step to get rid of most hardcoded 32 values.
2010-02-08Move party creation command from eA's PartyTab to CommandHandlerJared Adams2-10/+12
Also fix party invite by name when you aren't in a party.
2010-02-08Fix some bugs in party handling and add HP to AvatarListBoxJared Adams1-1/+6
2010-02-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams9-86/+107
2010-02-07Cleanup some memory issuesJared Adams1-2/+4
2010-02-07Updated Copyright year to 2010!Bertram114-114/+114
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-02-06Merged the Engine class into the Game classThorbjørn Lindeijer4-29/+26
There was little point in keeping the Engine class separate. It wasn't an engine at all, but only kept track of the currently active map, a job more suitable for the Game class anyway.
2010-02-05Fixed the low framerate problem by not waiting for network eventsThorbjørn Lindeijer1-6/+2
The enet service loop was waiting up to 10ms for a new network packet to come in. There is no need for this, so just remove it. Raised the framerate from about 60 to over 200 fps for me.
2010-02-03Factorized speed translation from tile per seconds to pixels per ticks.Bertram3-8/+24
2010-02-01Reduced CPU consumption by setting speed per ticks value only once.Bertram2-5/+17
2010-01-31Unify eAthena and manaserv support in to one build.Daniel Bradshaw9-34/+34
Finish support for server types in the server dialog. Using the new server type function, strip out ifdefs, replacing them with if blocks for later merging in smaller atomic commits. Remove any remaining references to the support defs, including in build system.
2010-01-29Block guild creation under eAthena for nowJared Adams1-0/+8
2010-01-28Added virtual destructors, some implicit casts, and a couple of type changes.Daniel Bradshaw18-4/+37
Many warnings removed. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-01-27Merge branch 'master' of gitorious.org:mana/manaBertram1-6/+11
2010-01-27Added mutators/accessors to being.h and smal cleanups.Bertram3-18/+18
2010-01-26Fix trade spam in eA.Andrei Karas1-6/+11
2010-01-26Fix a few more _SUPPORT ifdefs and namespace PartyTabJared Adams3-1/+10
2010-01-25Fix a bug when converting strings to server typesJared Adams1-2/+2
2010-01-24Remove some more _SUPPORT ifdefsJared Adams12-49/+135