相同点:file_put_contents()函数把一个字符串写入文件中,与依次调用fopen(),fwrite()以及fclose()功能一样。不同点:在file_put_contents()函数中使用FILE_APPEND可避免删除文件中已有的内容,即实现多次写入同一个文件时的追加功能。例如:echo file_put_contents(& ...
我们在开发过程中有时需要判断用户有没有关注我的公众号,下面的代码可以完美解决:<?php
$access_token = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=您的appid&secret=您的secret& ...
新人上线邮箱奖励:修改服务端文件:\data\Debug\LogicServer\data\config\mail\MailID.configattachment=后面的就是邮箱附件type=0时后面的ID就是物品的ID,count=就是数量 如果type=后面的不是0时就代表着:12345678910金币绑定金币绑定元宝(银两)元宝经验值转生修为飞 ...
<!DOCTYPE html>
<html>
<head>
<title>互联创盟源码</title>
<meta charset="utf-8">
<script src="http://libs.bai ...
1.为表单添加两个多选控件: 记住账号 ...
开区时间合区时间修改:/data/Debug/LogicServer/LogicServerLinux.txtLogicServer={ServerName="版本验收-逻辑服(sid=1001)",ServerIndex=1, ServerOpenTime ="2022-01-1512:00:00", --这里是开区时间 --ServerC ...
\data\build\AMServer\AMServer.txt\data\build\AMServer\AMServerLinux.txt\data\build\BackStageServer\BackStageServer.txt\data\build\BackStageServer\BackStageServerLinux.txt\data\build\LoggerServer\LoggerServer.txt\data\build\LoggerServer\LoggerServerLinux.t ...
Monster.config怪物表:[336]={-这里是怪物的ID-entityid=336,entityType=1,monsterType=1,name="[经典]牛魔祭司",level=300,ircle=7,aiConfigld=2,propid=319,dropid=200065,-------这里是怪物的掉落组IDexp=36000,attackInterval=1000,skills={},modelid=30058,a ...
找到如下文件:
/data/server/s1/LogicServer/data/config/FirstLogin.config
--Q-全局配置.xlsx 首次登录
FirstLoginConf={
gameKeyList = {55, 58},
dressEquip = {1,47},
warriorItemList = {
{type=0,id=239,count=6} ...
先在数据库中找到mmo_account数据库的表globaluser,找到自己的角色账号,设置gmlevel为10(最高);修改服务端\build\SessionServer\GM.txt里面的gmloginip= { & ...