summaryrefslogtreecommitdiff
path: root/src/net/ea
AgeCommit message (Collapse)AuthorFilesLines
2010-04-17Changed eAthena protocol name to TmwAthena and changed the config files ↵Bertram46-8184/+0
accordingly. This makes room for the actual eAthena protocol future inclusion.
2010-04-16Remove an unneeded monster job offset in eAthena netcodeJared Adams1-6/+0
2010-04-16Fix canceling game connectionJared Adams1-0/+1
Reviewed-by: Bertram
2010-04-16Add race support for eAthenaJared Adams2-3/+3
The job/class field is used to select the race. If the given race isn't defined, it falls back on the first race (so servers can use jobs/classes without races). Also rename job to subtype for Being and subclasses, and begin support for changing monster and NPC subtypes on the fly (particle effects still need to be reset when they change). Reviewed-by: Bertram
2010-04-12Completely ignore eAthena job 45Jared Adams1-0/+8
These are warps. Reviewed-by: Bertram
2010-04-12Add support for map-server switching under eAthenaJared Adams6-7/+53
Also do some cleanup that's been needed for a while. Reviewed-by: Bertram
2010-04-11Fix one crash when switching serversJared Adams1-3/+3
Reviewed-by: Freeyorp
2010-04-09Add support for registration disabled for eAthenaJared Adams2-4/+18
Reviewed-by: Chuck Miller`
2010-04-03Fix a crash after changing serversJared Adams1-0/+2
Reviewed-by: Chuck Miller
2010-03-30Fix some memory issuesJared Adams3-1/+7
Reviewed-by: Thorbjørn Lindeijer
2010-03-26Replace most dynamic_casts with static_castsJared Adams2-9/+12
The remaining instances can't easily or safely be changed as the classes involved don't have type information like Being does. Reviewed-by: Freeyorp
2010-03-25Remove the type boolean from InventoryWindowJared Adams2-17/+24
This moves inventory/storage type into the Inventory class, having size default to a call to the netcode to get the sive for the given type. Reviewed-by: Chuck Miller
2010-03-25Merge StorageWindow into InventoryWindowJared Adams3-6/+3
Reviewed-by: Chuck Miller
2010-03-21Fix crash when declining inviteJared Adams1-0/+3
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-27No point in calling Viewport::setMap(0) before deleting itThorbjørn Lindeijer3-3/+3
Reviewed-by: Jared Adams
2010-02-27Disable guilds for eAthena for nowJared Adams2-0/+4
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 Adams3-25/+86
Also make storage under eAthena more flexible. Reviewed-by: Dennis Friis
2010-02-24Add more to eAthena guild supportJared Adams8-49/+501
It's not complete yet, but it is closer. Also fix up handling of guild/party members. Reviewed-by: Chuck Miller
2010-02-22Change chat autocompletion to be more flexibleJared Adams2-5/+10
Reviewed-by: Chuck Miller
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 Lindeijer5-19/+19
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 Adams8-8/+6
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 headersFreeyorp42-42/+84
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer44-176/+132
2010-02-19Fixed a crash when trying to switch serversThorbjørn Lindeijer4-96/+83
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 Adams5-68/+86
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 Karas1-1/+2
Mantis-issue: 938 (TMW Mantis)
2010-02-09Pushed away some 32 hardcoded values.Bertram1-4/+7
2010-02-09Made the Beings' logic be able to handle any tile height/width.Bertram3-6/+10
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 Adams4-54/+74
2010-02-07Updated Copyright year to 2010!Bertram42-42/+42
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 Lindeijer2-22/+19
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-01-31Unify eAthena and manaserv support in to one build.Daniel Bradshaw3-4/+10
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-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 Adams5-43/+85