How to install the game on your server: first, make sure you have a http server [like Apache] with php activated, and a mysql server.
Connection data [user&pass] can be edited in the antet.php file.
Create a database. Import devana.sql into the database.
Now, open your browser and go to localhost/index.php; you should see the homepage of the game.
Go to install.php and follow the instructions. In the end you should get the "Map data added." message.
Delete the install.php and install_.php files after the installation to prevent other users from creating admin accounts.
Now others can register accounts and play the game.
[hint]The default map data is gathered from a bmp image in the old/sources folder using the devana_maps.exe application. The source code for it is lost since I reinstalled my OS a while back. :P To use it follow the steps in the file menu, skipping step 2 which is a data consistency check that I didn't code properly. The correct check should have made sure that no 2 bodies of water of different ids are in contact. Since it is bugged, it does exactly the oposite. :D[/hint]
Have fun playing/modifying the game [if you do modify it, I'd appreaciate it if you credit the author and contributors :) ], and make sure to check the forum at http://devana.eu/forum for news and updates.
没有合适的资源?快使用搜索试试~ 我知道了~
策略类网页游戏devana完整源代码
共271个文件
php:142个
gif:61个
png:52个
4星 · 超过85%的资源 需积分: 27 84 下载量 81 浏览量
2012-07-06
17:52:36
上传
评论 3
收藏 2MB ZIP 举报
温馨提示
策略类网页游戏devana完整源代码,可架设,使用php进行开发,对于有志于研究网页游戏后台技术的同仁,具有相当大的参考价值
资源推荐
资源详情
资源评论
收起资源包目录
策略类网页游戏devana完整源代码 (271个子文件)
default.css 3KB
map.dat 26KB
愢柧.doc 25KB
flag_de.gif 21KB
flag_en.gif 20KB
flag_fr.gif 18KB
flag_nl.gif 18KB
flag_it.gif 14KB
flag_ro.gif 13KB
16.gif 4KB
15.gif 4KB
17.gif 4KB
29.gif 4KB
30.gif 4KB
210.gif 4KB
25.gif 4KB
12.gif 4KB
13.gif 4KB
18.gif 4KB
27.gif 4KB
19.gif 4KB
26.gif 4KB
110.gif 4KB
14.gif 4KB
212.gif 3KB
28.gif 3KB
22.gif 3KB
20.gif 3KB
21.gif 3KB
11.gif 3KB
23.gif 3KB
10.gif 3KB
24.gif 3KB
211.gif 3KB
env_11.gif 3KB
env_13.gif 3KB
env_21.gif 3KB
env_15.gif 3KB
img.gif 3KB
env_16.gif 3KB
env_14.gif 3KB
env_24.gif 3KB
env_23.gif 3KB
env_34.gif 3KB
env_33.gif 3KB
env_12.gif 3KB
env_22.gif 3KB
env_32.gif 3KB
env_31.gif 3KB
x.gif 2KB
env_03.gif 1KB
env_02.gif 1KB
house_.gif 1KB
env_01.gif 1KB
env_04.gif 1KB
03.gif 1018B
01.gif 1018B
04.gif 1017B
02.gif 1010B
map_back.gif 1004B
pending.GIF 895B
morale_.gif 842B
00.gif 586B
env_x.gif 216B
background.jpg 306KB
back.jpg 159KB
logo.jpg 16KB
border1.jpg 11KB
border2.jpg 6KB
func.js 8KB
func.php 83KB
it.php 36KB
en.php 35KB
ro.php 28KB
fr.php 26KB
town.php 18KB
de.php 16KB
nl.php 15KB
marketplace.php 13KB
hall.php 10KB
csim.php 9KB
barracks.php 8KB
embassy.php 8KB
forums.php 8KB
sshop.php 7KB
port.php 7KB
profile_view.php 7KB
faq.php 7KB
stable.php 7KB
washop.php 7KB
blacksmith.php 6KB
academy.php 5KB
wwarehouse.php 5KB
house.php 5KB
town_stats.php 5KB
gmill.php 5KB
smason.php 5KB
lmill.php 5KB
alliance_stats.php 5KB
tower.php 5KB
共 271 条
- 1
- 2
- 3
winterxyz
- 粉丝: 3
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页