shine Posted May 30, 2008 Report Share Posted May 30, 2008 (edited) Counter-Strike Live Chat 0.9 Mans mods beidzot ir pabeigts. Vinjsh tapa paaris dienaas, jo man gadiijaas probleemas ar MySQL/PHP, ko es labi nepaarzinu. Pagaidam vinjsh raada tikai chatu, bet tuvaakaja laikaa es domaaju uztaisiit, lai arii rada kursh kuru nogalina e.c. Pat taisos iebuuveet admin konsoli. Isi pastaastiishu par modu. Vienkarshi sakot mods paraada visu, ko visi raksta chataa @ CS. Shis mods ljauj lasiit chatu pat neieejot spelee. Paliidz playeriem zinjot par chiiteriem. Pat ja kadam nav ko dariit, lai lieki nosistu laiku vienkarshi palasot chatinju. Pagaidaam refresh sisteema ir diezgan... pastulba. No PHP/JS/Ajax es maz saprotu. Taapec pagaidam to uzlabot nespeeju. Varbuut kaads man ar to var paliidzeet? Uzstaadiit sho modu ir pavisam viegli. Nokachaajam failu ŠEIT(jauns links!)(ja kaut kaadas probleemas laadeejot failu, pashaa leja ir mirrors). Mapi cstrike ekstrakteejam "Program Files/Valve". Ja jums CS atrodas citur, tad spriezhot pec shii parauga ceru, ka sapratiisiet kur, kas jaliek. www mapes saturu extrakteejam uz desktopa. Ja jums webs nav, tad droshi ekstrakteejam "appserv/www" mapee. Atveram index.php, kas staaveeja .zip. Atrodam rindinju: $dbparole = 'YOUR PASSWORD HERE'; Ievadiet savu paroli, ko juus ievadiijat installeejot appserv "YOUR PASSWORD HERE" vietaa. Neaizmirstiet, ka tu arii ir peedinjas! Ja jums webs jau ir, tad reneimojiet failu index.php uz kaadu citu nosaukumu(piem. chat.php). Atveram failu un izdarat to pashu, ko ar ne-reneimotu(proti - nomainiet password). Es ceru, ka juus maakat no sava weba uztaisiit linku. Nav laika vienkarshi tagad visu apskaidrot. Ja kaut ko nemaakat, tad skatieties ŠEIT un ŠEIT. Protams pieredzeejushaaki cilveeki kuriem ir Neliela pieredze ar HTML/PHP. Varees ieplantot to .php ieksha kaadas lapas @ web. Man tiesham nav laika tagad to skaidrot. Jums veel tikai viena lieta jaizdara. Atveram amxx.cfg. Ceru, ka nav jaaskaidro kur vinjsh atrodas XD. Faila pashaas beigas ierakstam: wc_host localhost wc_user root wc_pass tavs pass wc_db db Protams kur "tavs pass" tur jaraksta tas pats passwords, ko juus ierakstiijat @ .php. Ja jums host/user atshlkiras(to vareeja mainiit instaleejot appserv), tad protams arii sheit un .php to nomainiet. Veel jaanonjem ; no mysql @ modules.ini Un visbeidzot pirms palaishanas, jums jauztaisa DatuBaaze ar nosaukumu DB. Ieejiet appserv/www/mysql/data/ un uztaisiet mapi ar nosaukumu DB. Viss. Esat uzstaadiijushi modu. Zinu, ka esmu uztaisijis bildes tikai man vispaziistamaakajaam mapeem(dd2 e.c), ja pashi gribat savas ielikt: 1. Ieejiet CS 2. Uztaisat listen server(new game), mapi pashi izveelaties. 3. Ieejiet spec 4. Uztaisiet skriinu 5. Atveriet Paint/PS vai vienagla kaadu atteela apstraades programmu. 6. Nogrieziet ausgheeejos transperent(caurspiidiigos) taisnstuurus. 7. Samaziniet/palieliniet pic, lai taas lielums buutu 800x494 pixels. 7. Saglabaajiet .jpg formaataa ar mapes nosaukumu(ex. de_dust2.jpg) 8. Ielieciet failu "appserv/www/img/maps/" Un Viss gatavs. Nevareeju uztaisiit, ka roundtime atskaitaas... jo manas garaas, "matemaatiskaas" forumulas ladzinaaja serveri. So es pagaidiishu, pamaciishos JS/AJAX, un iemaciishos izveidot pats savu atskaiti izmantojot tikai taas valodas un PHP. Pagaidam jums tur buus staavosh roundtime. XD Screenshot(*JAUNS*): Zinu, ka nosaukums nav nekads dizhais XD. Ceru modu tuvakajaa laikaa uzlabot. Ceru, ka nebuus liela kritika Changes: 0.7 *First Release 0.8 * Fixed Cvar Bugs * Added Team Win Message * Fixed a bug: If you haven't joined a team and you say something, it shows that text in a black color. 0.9 * Added a transperent box at the top of the web(like cs spectating). You can see CT/TS score, mapname, and roundtime. * Now the background pic at the web will change depending on mapname(like de_dust2.jpg). * You can add yourself some map pics. TO DO listinjsh: * Jauztaisa player lists saanos. * Jauztaisa admin console, kuru redzees tie, kas buus ierakstiiti failaa "admins/ip.ini". Protams mape buus aizsargaata ar .htaccess. * Jauztaisa kruts dizains playerlistam * Jauztaisa, lai raada kas ko nogalina(galvenais dabuut ierochu atteelus caurspiidiigus un dzelteniigus(kaa CS). Link Mirror: HERE *UPDATED* Edited June 2, 2008 by shine Link to comment Share on other sites More sharing options...
DeimoN Posted May 30, 2008 Report Share Posted May 30, 2008 1st sito bus jaaiemegina sava serverii Link to comment Share on other sites More sharing options...
duplets Posted May 30, 2008 Report Share Posted May 30, 2008 Kas tas par modu, bez sma? Noteikti pieliec klāt sma! Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 (edited) Uj sorry.. aizmirsu ielikt! Big Sorry! Es steidzot pec lieciibas vienkarshi. ~pec 5min bus EDIT: Ir, augshupielaadeeju. Edited May 30, 2008 by shine Link to comment Share on other sites More sharing options...
ImMortl Posted May 30, 2008 Report Share Posted May 30, 2008 oho. tomēr izlaboji, lai arī strādātu visas msg, ne tikai 9? forši jau forši būtu jau vēl kruta, ja tu tur pieliktu laiku klāt a to tavā webā, nemaz nevar zināt,kad tur kāds ir rakstījis un vai jēga slēgt cs iekšā Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 Nu tomer saanos buus japieliek player lists. Bet tas viss ar laiku... esmu prieciigs, ka visas probleemas ar MySQL ir sataisiitas . Link to comment Share on other sites More sharing options...
Teddy Posted May 30, 2008 Report Share Posted May 30, 2008 es te taa vnk lasu, bet nesapratu.. it kaa ir jaataisa db, bet kapeec, ja man nav noraadiits kas tur jaaliek.. domaaju, ka 90% cilveeku vnk nesapratiis... Link to comment Share on other sites More sharing options...
ImMortl Posted May 30, 2008 Report Share Posted May 30, 2008 nu ja nesapratīs. tad viņiem šo nevajag. bet tā jau ideja nav peļama. cerams uzlabosi un būs viss ok )) Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 (edited) Ok papildinaashu... vienkarshi biju Lielaa steigaa, varteikt nokaveeju... Tuuliit... EDIT: Aizmirsis biju pateikt, ka DB jauztaisa manuaali, bet viss paareejais(table,columns) tiks uztaisiits palaizhot pluginu. Edited May 30, 2008 by shine Link to comment Share on other sites More sharing options...
tipa elvis Posted May 30, 2008 Report Share Posted May 30, 2008 Labz chats bet man kaut kas nesnak. Man msql/data/db mape neraktas nu tie faili un cs console rada ka plugins erors. Kur varetu but problema ? Varbut tadel ka webs uz c: a servaks uz e: diska ? Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 Nu veelvienam bija plugin errors.. paraadii erroru. Link to comment Share on other sites More sharing options...
tipa elvis Posted May 30, 2008 Report Share Posted May 30, 2008 Web Chat 0.7 Sh!nE* wc_base.amxx error ( 20) Error: Unknown table 'chats' Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 CREATE TABLE IF NOT EXISTS `chats`(`lastentry1` varchar(255) NOT NULL)" Ja shis neizveido table chats.. uztaisi mapi DB @ appserv/mysql/data Restartee serveri. Link to comment Share on other sites More sharing options...
tipa elvis Posted May 30, 2008 Report Share Posted May 30, 2008 da to jau es sen izdaroju WEBA RADA SHO Query failed: Table 'db.chats' doesn't exist Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 Tev errors.. pluginaa.. vaina ir taa ka plugins nenonaak tik taalu, lai uztaisiitu tables. Raadi kaadi errori tev tur iisti ir. Plugins ir.. tad vinjsh uztaisa tables.. tu nonjem ; no mysql @ modules.ini Link to comment Share on other sites More sharing options...
tipa elvis Posted May 30, 2008 Report Share Posted May 30, 2008 ir nonjemts no msql nu kas vel pa problemu varetu but ? Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 Tikko pluginu ielaadee vinjsh uztaisa table, ja taada nav. Tev pluginu neielaadee. Vai arii neieladee pareizi. Kaadi errori... iekopee pedeejo error log. Link to comment Share on other sites More sharing options...
remix.cc Posted May 30, 2008 Report Share Posted May 30, 2008 no weba ari var sutit mesagus? Link to comment Share on other sites More sharing options...
tipa elvis Posted May 30, 2008 Report Share Posted May 30, 2008 L 05/30/2008 - 13:45:45: [AMXX] Plugin ("wc_base.amxx") is setting itself as failed. L 05/30/2008 - 13:45:45: [AMXX] Plugin says: Unknown table 'chats' L 05/30/2008 - 13:45:45: [AMXX] Run time error 1 (plugin "wc_base.amxx") - forced exit Man ta patik sis mods busu tev loti pateicigs ja man tu palidzesi! Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 (edited) rmx.cc diemzheel pagaidam tas veel nebus iespeejams... +noteikti butu daudz spammeri... @ elivs tev MySQL ir? Ja nav tad installee... vispar ar Appserveri vajadzeeja installeet. EDIT: nee tad butu citi errori.. tu man liekas visu neiekopeeji... Vai nu vinjsh uztaisa tables.. vai arii izmet erroru. Skaties ruupiigaak. Edited May 30, 2008 by shine Link to comment Share on other sites More sharing options...
tipa elvis Posted May 30, 2008 Report Share Posted May 30, 2008 visu izdariju 100% pareizi webs protams ka ir ar appservi un pluginu visu itka pareizi saliku! Bet weba nav problema itka taja plugina ;( Link to comment Share on other sites More sharing options...
*jancis38* Posted May 30, 2008 Report Share Posted May 30, 2008 Uploudo kāds šeit. Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 (edited) Probleema nav pluginaa.. kaada tev AMXX versija? EDIT: butu pielicis sheit attachmentaa, bet redzi.. .zips ir par 5kb lielaks nekaa limits =/ Edited May 30, 2008 by shine Link to comment Share on other sites More sharing options...
tipa elvis Posted May 30, 2008 Report Share Posted May 30, 2008 1.8 Link to comment Share on other sites More sharing options...
shine Posted May 30, 2008 Author Report Share Posted May 30, 2008 Es testeeju uz 1.76d... shaubos ka tam ir liela noziime.. jo nekas buutisks saistiiba ar skriptingu tur nav mainiijies. Skatiijos pats.. MySQL praktiski tur nav aiztikts. Kaads izteste sho ar 1.8 versiju. Tieshaam nevaru iedomaaties tagad, kas tev pa probleemu. Tev nekaadus citus errorus Tieshaam konsolee neraada? Piemeram: This user has no access e.c? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now