找回密码
 注册
X系列官方授权正版
搜索
查看: 2618|回复: 11

[原创] 单机web版X3

[复制链接]
发表于 2008-11-15 19:18:30 | 显示全部楼层 |阅读模式
lkk
13598 and 13557

a new refresh

Array ( [oid] => 1 [cls] => 2 [uid] => fhw [nick] => 实验工厂 )

F:\redlz2500\NCore\bin/cls/BUILDING/BUILDING.BASE.PHP

当前时间13598

Array ( [oid] => 1 [cls] => - - [e] => profinish [para] => 0 [gt] => 13580 )

code is $o=new building(13580,1);

$o->profinish();

select * from {{table}} where `oid` = '1' and `cls` = 'profinish'

Array ( [pid] => 1 [stock] => 1 [neednum] => 1 )

转换成的数据

Array ( [0] => Array ( [pid] => 1 [stock] => 1 [neednum] => 1 ) )
$o->profinish();

2

update {{table}} set `lastgametime` = '13598',`lasttime`='2008-11-15 19:15:46' limit 1

当前库存

Array ( [bid] => 1 [sid] => 2 [num] => 139 )

Array ( [bid] => 1 [sid] => 1 [num] => 894 )

当前生产产品

Array ( [id] => 2 [output] => 2 [outputnum] => 1 [productivity] => 600 [name] => 小麦 [type] => 0 [size] => 1 [weight] => 1 )

当前所需要的原料

Array ( [pid] => 1 [stock] => 1 [neednum] => 1 [id] => 1 [name] => 能量块 [type] => 0 [size] => 1 [weight] => 1 )

_______________________________________________________________________________________

lkk
13733 and 13719

update {{table}} set `lastgametime` = '13733',`lasttime`='2008-11-15 19:18:01' limit 1

当前库存

Array ( [bid] => 1 [sid] => 2 [num] => 141 )

Array ( [bid] => 1 [sid] => 1 [num] => 892 )

当前生产产品

Array ( [id] => 2 [output] => 2 [outputnum] => 1 [productivity] => 600 [name] => 小麦 [type] => 0 [size] => 1 [weight] => 1 )

当前所需要的原料

Array ( [pid] => 1 [stock] => 1 [neednum] => 1 [id] => 1 [name] => 能量块 [type] => 0 [size] => 1 [weight] => 1 )
 楼主| 发表于 2008-11-16 19:45:10 | 显示全部楼层
F:\redlz2500\NCore\bin/cls/obj.php

当前游戏时间

70558

------------------------------

当前星区信息(默认星区)

call father info

first to get the info

Array ( [oid] => 3 [cls] => sector [uid] => fai3jfa [inobj] => 0 [nick] => 未知星区 [hp] => 100 [shield] => 100 [speed] => 0 [freecargo] => 3000 [x] => 0 [y] => 0 [clsid] => 11 [type] => 0 [name] => [星区]星区 [file] => /SECTOR.BASE.PHP [maxcargo] => 3000 )

------------------------------

当前星区内物体

Array ( [0] => Array ( [oid] => 1 [cls] => 2 [uid] => fhw [inobj] => 3 [nick] => 实验工厂 [hp] => 0 [shield] => 0 [speed] => 0 [freecargo] => 1901 [x] => 0 [y] => 0 ) [1] => Array ( [oid] => 2 [cls] => 9 [uid] => fax918c [inobj] => 3 [nick] => 贸易船 [hp] => 100 [shield] => 100 [speed] => 0 [freecargo] => 3000 [x] => 0 [y] => 0 ) )

------------------------------

当前建筑物详细信息

Array ( [oid] => 1 [cls] => 2 [uid] => fhw [inobj] => 3 [nick] => 实验工厂 [hp] => 0 [shield] => 0 [speed] => 0 [freecargo] => 1901 [x] => 0 [y] => 0 )

F:\redlz2500\NCore\bin/cls/obj.php

$o=new building(70558,1);

当前建筑内的物品

Array ( [0] => Array ( [oid] => 1 [sid] => 2 [num] => 4988 [maxnum] => 5000 ) [1] => Array ( [oid] => 1 [sid] => 1 [num] => 4524 [maxnum] => 5000 ) )

------------------------------

当前舰船详细信息

Array ( [oid] => 2 [cls] => 9 [uid] => fax918c [inobj] => 3 [nick] => 贸易船 [hp] => 100 [shield] => 100 [speed] => 0 [freecargo] => 3000 [x] => 0 [y] => 0 )

$o=new ship(70558,2);

当前飞船内的物品

Array ( )

[ 本帖最后由 redlz2500 于 2008-11-16 20:07 编辑 ]
回复

使用道具 举报

发表于 2008-11-16 20:23:41 | 显示全部楼层
啥地方弄得?
回复

使用道具 举报

 楼主| 发表于 2008-11-16 20:29:20 | 显示全部楼层
还在编……
回复

使用道具 举报

 楼主| 发表于 2008-11-16 23:34:44 | 显示全部楼层
当前星区内贸易网信息

select * from `{{table}}` where `insector` = '3'

Array ( [0] => Array ( [oid] => 1 [insector] => 3 [sid] => 2 [buy] => 0 [price] => 16 ) [1] => Array ( [oid] => 1 [insector] => 3 [sid] => 1 [buy] => 1 [price] => 10 ) )
回复

使用道具 举报

 楼主| 发表于 2008-11-23 19:36:35 | 显示全部楼层
生产内核优化
效率提高100%甚至以上

原来的内核太差了
回复

使用道具 举报

发表于 2008-11-25 00:31:55 | 显示全部楼层
web版?那不是可以改到手机上了。
回复

使用道具 举报

发表于 2008-11-25 16:00:32 | 显示全部楼层
WEN版本能放出來一個給我們體驗體驗?我這樣就可以讀取X3的存檔在網頁上掛機了是嗎
回复

使用道具 举报

发表于 2008-11-25 17:01:04 | 显示全部楼层
[S::lol:] 放出来玩
回复

使用道具 举报

发表于 2008-11-27 14:34:38 | 显示全部楼层
想起Ogame来了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

Archiver|手机版|小黑屋|DeepTimes.NET 太空游戏站